https://github.com/Kitware/CMake
Raw File
Tip revision: d421274e3e11a0e6480358faa8a8e5cf48d7b3c2 authored by Brad King on 15 July 2020, 11:19:20 UTC
CMake 3.18.0
Tip revision: d421274
CMAKE_CROSSCOMPILING_EMULATOR.rst
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.

If this variable contains a :ref:`semicolon-separated list <CMake Language
Lists>`, then the first value is the command and remaining values are its
arguments.

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.
back to top