mirror of
https://github.com/reactos/CMake.git
synced 2024-12-13 22:58:41 +00:00
f7c5e970a0
Expose the binutils' machine name (typically used as a prefix on the tool names) publicly. This is expected to match the `gcc -dumpmachine` value. Suggested-by: Ruslan Baratov <ruslan_baratov@yahoo.com>
13 lines
451 B
ReStructuredText
13 lines
451 B
ReStructuredText
CMAKE_<LANG>_ANDROID_TOOLCHAIN_PREFIX
|
|
-------------------------------------
|
|
|
|
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}
|