cmake/Help/variable/CMAKE_LANG_COMPILER_EXTERNAL_TOOLCHAIN.rst

14 lines
595 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
CMAKE_<LANG>_COMPILER_EXTERNAL_TOOLCHAIN
----------------------------------------
The external toolchain for cross-compiling, if supported.
2016-07-09 11:21:54 +02:00
Some compiler toolchains do not ship their own auxiliary utilities such as
2014-08-03 19:52:23 +02:00
archivers and linkers. The compiler driver may support a command-line argument
2015-11-17 17:22:37 +01:00
to specify the location of such tools.
2018-04-23 21:13:27 +02:00
``CMAKE_<LANG>_COMPILER_EXTERNAL_TOOLCHAIN`` may be set to a path to
2015-11-17 17:22:37 +01:00
the external toolchain and will be passed to the compiler driver if supported.
2014-08-03 19:52:23 +02:00
This variable may only be set in a toolchain file specified by
the :variable:`CMAKE_TOOLCHAIN_FILE` variable.