mirror of
https://github.com/reactos/CMake.git
synced 2024-12-14 23:29:57 +00:00
3d42a72bd5
When this variable is not set by the user or toolchain file, set it to the default selected. This will be useful for client code that needs to pass the value to an external tool that needs to find the same toolchain in the NDK. Leave it empty for a standalone toolchain. Suggested-by: Ruslan Baratov <ruslan_baratov@yahoo.com>
17 lines
665 B
ReStructuredText
17 lines
665 B
ReStructuredText
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.
|