CMAKE_ANDROID_ARCH

From Get docs
Cmake/docs/3.21/variable/cmake android arch


CMAKE_ANDROID_ARCH

New in version 3.4.


When Cross Compiling for Android with NVIDIA Nsight Tegra Visual Studio Edition, this variable may be set to specify the default value for the ANDROID_ARCH target property. See that target property for additional information.

Otherwise, when Cross Compiling for Android, this variable provides the name of the Android architecture corresponding to the value of the CMAKE_ANDROID_ARCH_ABI variable. The architecture name may be one of:

  • arm
  • arm64
  • mips
  • mips64
  • x86
  • x86_64

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/variable/CMAKE_ANDROID_ARCH.html