forked from MaaAssistantArknights/MaaDeps
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: android arch (MaaAssistantArknights#22)
- Loading branch information
Showing
5 changed files
with
19 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 6 additions & 4 deletions
10
vcpkg-overlay/triplets/maa-x64-android.cmake → ...erlay/triplets/maa-arm-neon-android.cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
set(VCPKG_TARGET_ARCHITECTURE x64) | ||
set(VCPKG_TARGET_ARCHITECTURE arm) | ||
set(VCPKG_CRT_LINKAGE dynamic) | ||
set(VCPKG_CMAKE_SYSTEM_NAME Android) | ||
set(VCPKG_CMAKE_SYSTEM_VERSION 23) | ||
set(VCPKG_BUILD_TYPE release) | ||
set(VCPKG_MAKE_BUILD_TRIPLET "--host=x86_64-linux-android") | ||
set(VCPKG_TARGET_TRIPLET x64-android) | ||
set(VCPKG_CMAKE_CONFIGURE_OPTIONS ${VCPKG_CMAKE_CONFIGURE_OPTIONS} -DANDROID_USE_LEGACY_TOOLCHAIN_FILE=OFF) | ||
set(VCPKG_MAKE_BUILD_TRIPLET "--host=armv7a-linux-androideabi") | ||
set(VCPKG_CMAKE_CONFIGURE_OPTIONS ${VCPKG_CMAKE_CONFIGURE_OPTIONS} | ||
-DANDROID_ABI=armeabi-v7a -DANDROID_ARM_NEON=ON | ||
-DANDROID_USE_LEGACY_TOOLCHAIN_FILE=OFF | ||
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,-s") | ||
|
||
include(${CMAKE_CURRENT_LIST_DIR}/maa-linux-library-override.cmake) | ||
include(${CMAKE_CURRENT_LIST_DIR}/maa-android-library-override.cmake) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.