mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
The list capability was added in CMake 3.15 by commit fec441ec17 (Teach
CROSSCOMPILING_EMULATOR to support arguments, 2019-05-30,
v3.15.0-rc1~6^2), but the documentation did not indicate the version
that added it.
20 lines
704 B
ReStructuredText
20 lines
704 B
ReStructuredText
CMAKE_CROSSCOMPILING_EMULATOR
|
|
-----------------------------
|
|
|
|
.. versionadded:: 3.3
|
|
|
|
This variable is only used when :variable:`CMAKE_CROSSCOMPILING` is on. It
|
|
should point to a command on the host system that can run executable built
|
|
for the target system.
|
|
|
|
.. versionadded:: 3.15
|
|
If this variable contains a :ref:`semicolon-separated list <CMake Language
|
|
Lists>`, then the first value is the command and remaining values are its
|
|
arguments.
|
|
|
|
The command will be used to run :command:`try_run` generated executables,
|
|
which avoids manual population of the ``TryRunResults.cmake`` file.
|
|
|
|
It is also used as the default value for the
|
|
:prop_tgt:`CROSSCOMPILING_EMULATOR` target property of executables.
|