CMAKE_CROSSCOMPILING_EMULATOR — CMake 3.3.2 Documentation

### Navigation

- index
- next |
- previous |
- CMake »
- 3.3.2 Documentation »
- cmake-variables(7) »

# CMAKE_CROSSCOMPILING_EMULATOR

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.

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.

### Navigation

- index
- next |
- previous |
- CMake »
- 3.3.2 Documentation »
- cmake-variables(7) »