CMAKE_CROSSCOMPILING_EMULATOR¶
Added in version 3.3.
This variable is only used when CMAKE_CROSSCOMPILING is on. It
should point to a command on the host system that can run executable built
for the target system.
Added in version 3.15: If this variable contains a semicolon-separated list, then the first value is the command and remaining values are its arguments.
Added in version 3.28: This variable can be initialized via an
CMAKE_CROSSCOMPILING_EMULATOR environment variable.
The command will be used to run try_run() generated executables,
which avoids manual population of the TryRunResults.cmake file.
This variable is also used as the default value for the
CROSSCOMPILING_EMULATOR target property of executables. However,
while generator expressions are
supported by the target property (since CMake 3.29), they are not supported
by this variable's try_run() functionality.