diff options
Diffstat (limited to 'share/cmake-3.18/Help/variable/CMAKE_CROSSCOMPILING_EMULATOR.rst')
-rw-r--r-- | share/cmake-3.18/Help/variable/CMAKE_CROSSCOMPILING_EMULATOR.rst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/share/cmake-3.18/Help/variable/CMAKE_CROSSCOMPILING_EMULATOR.rst b/share/cmake-3.18/Help/variable/CMAKE_CROSSCOMPILING_EMULATOR.rst new file mode 100644 index 0000000..1d013b7 --- /dev/null +++ b/share/cmake-3.18/Help/variable/CMAKE_CROSSCOMPILING_EMULATOR.rst @@ -0,0 +1,16 @@ +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. |