CMAKE_CROSSCOMPILING_EMULATOR

From Get docs
Cmake/docs/3.21/variable/cmake crosscompiling emulator


CMAKE_CROSSCOMPILING_EMULATOR

New 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.

If this variable contains a semicolon-separated list, then the first value is the command and remaining values are its arguments.

The command will be used to run try_run() generated executables, which avoids manual population of the TryRunResults.cmake file.

It is also used as the default value for the CROSSCOMPILING_EMULATOR target property of executables.

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/variable/CMAKE_CROSSCOMPILING_EMULATOR.html