Merge topic 'cross-compiling-emulator-env-var'

7005dea005 CrossCompiling: Load CMAKE_CROSSCOMPILING_EMULATOR from environment

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8543
This commit is contained in:
Brad King
2023-06-14 13:18:41 +00:00
committed by Kitware Robot
8 changed files with 50 additions and 0 deletions

View File

@@ -12,6 +12,10 @@ for the target system.
Lists>`, then the first value is the command and remaining values are its
arguments.
.. versionadded:: 3.28
This variable can be initialized via an
:envvar:`CMAKE_CROSSCOMPILING_EMULATOR` environment variable.
The command will be used to run :command:`try_run` generated executables,
which avoids manual population of the ``TryRunResults.cmake`` file.