1CMAKE_ANDROID_NDK_TOOLCHAIN_VERSION 2----------------------------------- 3 4.. versionadded:: 3.7 5 6When :ref:`Cross Compiling for Android with the NDK`, this variable 7may be set to specify the version of the toolchain to be used 8as the compiler. 9 10On NDK r19 or above, this variable must be unset or set to ``clang``. 11 12On NDK r18 or below, this variable must be set to one of these forms: 13 14* ``<major>.<minor>``: GCC of specified version 15* ``clang<major>.<minor>``: Clang of specified version 16* ``clang``: Clang of most recent available version 17 18A toolchain of the requested version will be selected automatically to 19match the ABI named in the :variable:`CMAKE_ANDROID_ARCH_ABI` variable. 20 21If not specified, the default will be a value that selects the latest 22available GCC toolchain. 23