https://github.com/Kitware/CMake
Raw File
Tip revision: 30c3effa89ceda247cd2ff29b5d3f4da8c7a8ff6 authored by Brad King on 01 February 2019, 13:23:46 UTC
CMake 3.13.4
Tip revision: 30c3eff
CMAKE_ANDROID_NDK_TOOLCHAIN_VERSION.rst
CMAKE_ANDROID_NDK_TOOLCHAIN_VERSION
-----------------------------------

When :ref:`Cross Compiling for Android with the NDK`, this variable
may be set to specify the version of the toolchain to be used
as the compiler.  The variable must be set to one of these forms:

* ``<major>.<minor>``: GCC of specified version
* ``clang<major>.<minor>``: Clang of specified version
* ``clang``: Clang of most recent available version

A toolchain of the requested version will be selected automatically to
match the ABI named in the :variable:`CMAKE_ANDROID_ARCH_ABI` variable.

If not specified, the default will be a value that selects the latest
available GCC toolchain.
back to top