• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1CMAKE_CROSSCOMPILING_EMULATOR
2-----------------------------
3
4.. versionadded:: 3.3
5
6This variable is only used when :variable:`CMAKE_CROSSCOMPILING` is on. It
7should point to a command on the host system that can run executable built
8for the target system.
9
10If this variable contains a :ref:`semicolon-separated list <CMake Language
11Lists>`, then the first value is the command and remaining values are its
12arguments.
13
14The command will be used to run :command:`try_run` generated executables,
15which avoids manual population of the ``TryRunResults.cmake`` file.
16
17It is also used as the default value for the
18:prop_tgt:`CROSSCOMPILING_EMULATOR` target property of executables.
19