mirror of
https://github.com/reactos/CMake.git
synced 2024-12-14 15:19:39 +00:00
e942526b3d
If the CMAKE_CROSSCOMPILING_EMULATOR variable is defined, and CMAKE_CROSSCOMPILING is TRUE, then use CMAKE_CROSSCOMPILING_EMULATOR to run the try_run executables. This prevents the need to populate TryRunResults.cmake when cross compiling.
13 lines
487 B
ReStructuredText
13 lines
487 B
ReStructuredText
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.
|