diff options
author | Brad King <brad.king@kitware.com> | 2016-11-11 19:50:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-11-14 19:29:14 (GMT) |
commit | 3d42a72bd5827ea875bbba830ecff90b3aaf54d6 (patch) | |
tree | 42c81177565ec26840faa20433fefdafbb2813a3 /Help/variable | |
parent | 4a4be0301bd9c6062738e87892cbe5bd8d900a49 (diff) | |
download | CMake-3d42a72bd5827ea875bbba830ecff90b3aaf54d6.zip CMake-3d42a72bd5827ea875bbba830ecff90b3aaf54d6.tar.gz CMake-3d42a72bd5827ea875bbba830ecff90b3aaf54d6.tar.bz2 |
Android: Always set CMAKE_ANDROID_NDK_TOOLCHAIN_VERSION
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>
Diffstat (limited to 'Help/variable')
-rw-r--r-- | Help/variable/CMAKE_ANDROID_NDK_TOOLCHAIN_VERSION.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_ANDROID_NDK_TOOLCHAIN_VERSION.rst b/Help/variable/CMAKE_ANDROID_NDK_TOOLCHAIN_VERSION.rst index dff7d64..5ae55d1 100644 --- a/Help/variable/CMAKE_ANDROID_NDK_TOOLCHAIN_VERSION.rst +++ b/Help/variable/CMAKE_ANDROID_NDK_TOOLCHAIN_VERSION.rst @@ -11,3 +11,6 @@ as the compiler. The variable must be set to one of these forms: 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. |