aboutsummaryrefslogtreecommitdiff
path: root/triplets
diff options
context:
space:
mode:
authortalregev <talregev@users.noreply.github.com>2021-05-05 23:32:47 +0300
committerGitHub <noreply@github.com>2021-05-05 13:32:47 -0700
commit27fe7a50db33aa5a6a004449d2645797bdb47248 (patch)
tree5b32b64050b63230b8b36f262729e4646aa57ee5 /triplets
parent706ab2a27978c1fb8d76455f954636d96e44a471 (diff)
downloadvcpkg-27fe7a50db33aa5a6a004449d2645797bdb47248.tar.gz
vcpkg-27fe7a50db33aa5a6a004449d2645797bdb47248.zip
Compile for android including armv6. (#16847)
* compile for android including armv6. * Update arm-android.cmake * Update from comment in the PR support ANDROID_NATIVE_API_LEVEL from env variable. (to be able to compile also 16 and not just 21 as default) * Add ANDROID_ARM_NEON from env var * Short version of update ANDROID_ARM_NEON. * remove ANDROID_NATIVE_API_LEVEL now using vcpkg_CMAKE_SYSTEM_VERSION in triplet Add cache to ANDROID_ARM_NEON fix indents * Update neon triplet * Add arm-neon-android.cmake file.
Diffstat (limited to 'triplets')
-rw-r--r--triplets/community/arm-android.cmake4
-rw-r--r--triplets/community/arm-neon-android.cmake4
-rw-r--r--triplets/community/arm64-android.cmake4
-rw-r--r--triplets/community/armv6-android.cmake4
-rw-r--r--triplets/community/x64-android.cmake4
-rw-r--r--triplets/community/x86-android.cmake4
6 files changed, 24 insertions, 0 deletions
diff --git a/triplets/community/arm-android.cmake b/triplets/community/arm-android.cmake
new file mode 100644
index 000000000..29ba5655a
--- /dev/null
+++ b/triplets/community/arm-android.cmake
@@ -0,0 +1,4 @@
+set(VCPKG_TARGET_ARCHITECTURE arm)
+set(VCPKG_CRT_LINKAGE static)
+set(VCPKG_LIBRARY_LINKAGE static)
+set(VCPKG_CMAKE_SYSTEM_NAME Android)
diff --git a/triplets/community/arm-neon-android.cmake b/triplets/community/arm-neon-android.cmake
new file mode 100644
index 000000000..29ba5655a
--- /dev/null
+++ b/triplets/community/arm-neon-android.cmake
@@ -0,0 +1,4 @@
+set(VCPKG_TARGET_ARCHITECTURE arm)
+set(VCPKG_CRT_LINKAGE static)
+set(VCPKG_LIBRARY_LINKAGE static)
+set(VCPKG_CMAKE_SYSTEM_NAME Android)
diff --git a/triplets/community/arm64-android.cmake b/triplets/community/arm64-android.cmake
new file mode 100644
index 000000000..20b255d39
--- /dev/null
+++ b/triplets/community/arm64-android.cmake
@@ -0,0 +1,4 @@
+set(VCPKG_TARGET_ARCHITECTURE arm64)
+set(VCPKG_CRT_LINKAGE static)
+set(VCPKG_LIBRARY_LINKAGE static)
+set(VCPKG_CMAKE_SYSTEM_NAME Android)
diff --git a/triplets/community/armv6-android.cmake b/triplets/community/armv6-android.cmake
new file mode 100644
index 000000000..29ba5655a
--- /dev/null
+++ b/triplets/community/armv6-android.cmake
@@ -0,0 +1,4 @@
+set(VCPKG_TARGET_ARCHITECTURE arm)
+set(VCPKG_CRT_LINKAGE static)
+set(VCPKG_LIBRARY_LINKAGE static)
+set(VCPKG_CMAKE_SYSTEM_NAME Android)
diff --git a/triplets/community/x64-android.cmake b/triplets/community/x64-android.cmake
new file mode 100644
index 000000000..6342ce536
--- /dev/null
+++ b/triplets/community/x64-android.cmake
@@ -0,0 +1,4 @@
+set(VCPKG_TARGET_ARCHITECTURE x64)
+set(VCPKG_CRT_LINKAGE static)
+set(VCPKG_LIBRARY_LINKAGE static)
+set(VCPKG_CMAKE_SYSTEM_NAME Android)
diff --git a/triplets/community/x86-android.cmake b/triplets/community/x86-android.cmake
new file mode 100644
index 000000000..ca0fbaeff
--- /dev/null
+++ b/triplets/community/x86-android.cmake
@@ -0,0 +1,4 @@
+set(VCPKG_TARGET_ARCHITECTURE x86)
+set(VCPKG_CRT_LINKAGE static)
+set(VCPKG_LIBRARY_LINKAGE static)
+set(VCPKG_CMAKE_SYSTEM_NAME Android)