W3cubDocs

/CMake 3.19

ANDROID_ARCH

New in version 3.4.

When Cross Compiling for Android with NVIDIA Nsight Tegra Visual Studio Edition, this property sets the Android target architecture.

This is a string property that could be set to the one of the following values:

  • armv7-a: “ARMv7-A (armv7-a)”
  • armv7-a-hard: “ARMv7-A, hard-float ABI (armv7-a)”
  • arm64-v8a: “ARMv8-A, 64bit (arm64-v8a)”
  • x86: “x86 (x86)”
  • x86_64: “x86_64 (x86_64)”

This property is initialized by the value of the CMAKE_ANDROID_ARCH variable if it is set when a target is created.

© 2000–2020 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.19/prop_tgt/ANDROID_ARCH.html