https://github.com/Kitware/CMake
Raw File
Tip revision: 64fb825438a2fecb9eab9933d5d1b926bf6f294b authored by Brad King on 24 November 2020, 13:50:26 UTC
CMake 3.19.1
Tip revision: 64fb825
CMAKE_LANG_ANDROID_TOOLCHAIN_PREFIX.rst
CMAKE_<LANG>_ANDROID_TOOLCHAIN_PREFIX
-------------------------------------

.. versionadded:: 3.7

When :ref:`Cross Compiling for Android` this variable contains the absolute
path prefixing the toolchain GNU compiler and its binutils.

See also :variable:`CMAKE_<LANG>_ANDROID_TOOLCHAIN_SUFFIX`
and :variable:`CMAKE_<LANG>_ANDROID_TOOLCHAIN_MACHINE`.

For example, the path to the linker is::

  ${CMAKE_CXX_ANDROID_TOOLCHAIN_PREFIX}ld${CMAKE_CXX_ANDROID_TOOLCHAIN_SUFFIX}
back to top