https://github.com/Kitware/CMake
Raw File
Tip revision: 8bcba75b1c12d69f0649e23173e3b19672b068e2 authored by Brad King on 14 July 2023, 15:03:52 UTC
CMake 3.27.0-rc5
Tip revision: 8bcba75
CMAKE_CROSSCOMPILING_EMULATOR.rst
CMAKE_CROSSCOMPILING_EMULATOR
-----------------------------

.. versionadded:: 3.3

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.

.. versionadded:: 3.15
  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