CMAKE_ANDROID_NDK_TOOLCHAIN_VERSION.rst 665 B

12345678910111213141516
  1. CMAKE_ANDROID_NDK_TOOLCHAIN_VERSION
  2. -----------------------------------
  3. When :ref:`Cross Compiling for Android with the NDK`, this variable
  4. may be set to specify the version of the toolchain to be used
  5. as the compiler. The variable must be set to one of these forms:
  6. * ``<major>.<minor>``: GCC of specified version
  7. * ``clang<major>.<minor>``: Clang of specified version
  8. * ``clang``: Clang of most recent available version
  9. A toolchain of the requested version will be selected automatically to
  10. match the ABI named in the :variable:`CMAKE_ANDROID_ARCH_ABI` variable.
  11. If not specified, the default will be a value that selects the latest
  12. available GCC toolchain.