summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_LANG_ANDROID_TOOLCHAIN_PREFIX.rst
blob: ff072caf0a8d04481f2b7dba35e79f55f5bfcc3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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}