cmake/Help/variable/CMAKE_CROSSCOMPILING_EMULATOR.rst

17 lines
652 B
ReStructuredText
Raw Normal View History

2015-08-17 11:37:30 +02:00
CMAKE_CROSSCOMPILING_EMULATOR
-----------------------------
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.
2019-11-11 23:01:05 +01:00
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.
2015-08-17 11:37:30 +02:00
The command will be used to run :command:`try_run` generated executables,
2019-11-11 23:01:05 +01:00
which avoids manual population of the ``TryRunResults.cmake`` file.
2015-08-17 11:37:30 +02:00
It is also used as the default value for the
:prop_tgt:`CROSSCOMPILING_EMULATOR` target property of executables.