summaryrefslogtreecommitdiffstats
path: root/Help/variable
diff options
context:
space:
mode:
authorMarek Antoniak <kfazol@gmail.com>2019-05-30 14:11:10 (GMT)
committerBrad King <brad.king@kitware.com>2019-06-03 14:17:17 (GMT)
commitfec441ec17d74b6444fad2a3e32a47dd19f1be5b (patch)
tree073dc1ab354485e4be0caba5730b83bad97a979f /Help/variable
parent3cb5a8d9b3add4394b12d61b5ce83ea6ca148fd1 (diff)
downloadCMake-fec441ec17d74b6444fad2a3e32a47dd19f1be5b.zip
CMake-fec441ec17d74b6444fad2a3e32a47dd19f1be5b.tar.gz
CMake-fec441ec17d74b6444fad2a3e32a47dd19f1be5b.tar.bz2
Teach CROSSCOMPILING_EMULATOR to support arguments
Fixes: #19321
Diffstat (limited to 'Help/variable')
-rw-r--r--Help/variable/CMAKE_CROSSCOMPILING_EMULATOR.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_CROSSCOMPILING_EMULATOR.rst b/Help/variable/CMAKE_CROSSCOMPILING_EMULATOR.rst
index e7774f2..1d013b7 100644
--- a/Help/variable/CMAKE_CROSSCOMPILING_EMULATOR.rst
+++ b/Help/variable/CMAKE_CROSSCOMPILING_EMULATOR.rst
@@ -5,6 +5,10 @@ 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.