summaryrefslogtreecommitdiff
path: root/Help/variable/CMAKE_CROSSCOMPILING_EMULATOR.rst
blob: 95d2c7ffc4921e2b6ea6c77be1fabe188331c049 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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.

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.