mirror of
https://github.com/0O0o0oOoO00/Alas.git
synced 2026-05-14 14:29:26 +08:00
add: add support for the x64 Android platform
This commit is contained in:
@@ -19,6 +19,7 @@ goto :EOF
|
||||
|
||||
:install_all_platforms
|
||||
call :install %1 x86-android
|
||||
call :install %1 x64-android
|
||||
call :install %1 armeabi-v7a-android
|
||||
call :install %1 arm64-v8a-android
|
||||
goto :EOF
|
||||
|
||||
13
blcrack/triplets/x64-android.cmake
Normal file
13
blcrack/triplets/x64-android.cmake
Normal file
@@ -0,0 +1,13 @@
|
||||
if (NOT DEFINED ENV{NDK_ROOT})
|
||||
message(FATAL_ERROR "NDK_ROOT is not defined. Please set it to the root directory of your Android NDK.")
|
||||
endif ()
|
||||
|
||||
message(STATUS "Using Android NDK: $ENV{NDK_ROOT}")
|
||||
|
||||
set(VCPKG_TARGET_ARCHITECTURE x64)
|
||||
set(VCPKG_CRT_LINKAGE static)
|
||||
set(VCPKG_LIBRARY_LINKAGE static)
|
||||
set(VCPKG_CMAKE_SYSTEM_NAME Android)
|
||||
set(VCPKG_MAKE_BUILD_TRIPLET "--host=x86_64-linux-android")
|
||||
set(VCPKG_CMAKE_CONFIGURE_OPTIONS -DANDROID_ABI=x86_64)
|
||||
set(VCPKG_CHAINLOAD_TOOLCHAIN_FILE $ENV{NDK_ROOT}/build/cmake/android.toolchain.cmake)
|
||||
Reference in New Issue
Block a user