CMAKE_ANDROID_ARCH

在 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 為 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