summaryrefslogtreecommitdiffstats
path: root/Help/variable
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-04-08 13:07:03 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-04-08 13:07:03 (GMT)
commit977796e3077b390b72c32315138ca15ae3339fb7 (patch)
tree78d5a827316d2d9ca59bffe7aab4713359cfcb42 /Help/variable
parent37ce091345f6e9ad57aff7a768cc3dc35ebc3913 (diff)
parent1975d53ae19c46ee4f7384cc96be355f7e94df61 (diff)
downloadCMake-977796e3077b390b72c32315138ca15ae3339fb7.zip
CMake-977796e3077b390b72c32315138ca15ae3339fb7.tar.gz
CMake-977796e3077b390b72c32315138ca15ae3339fb7.tar.bz2
Merge topic 'emulator-property'
1975d53a Help: Add notes for topic 'emulator-property' 9160d6c2 TestGenerator: Add CROSSCOMPILING_EMULATOR support. e942526b try_run: Use CMAKE_CROSSCOMPILING_EMULATOR. 579c4bec Properties: Add CROSSCOMPILING_EMULATOR target property.
Diffstat (limited to 'Help/variable')
-rw-r--r--Help/variable/CMAKE_CROSSCOMPILING_EMULATOR.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_CROSSCOMPILING_EMULATOR.rst b/Help/variable/CMAKE_CROSSCOMPILING_EMULATOR.rst
new file mode 100644
index 0000000..95d2c7f
--- /dev/null
+++ b/Help/variable/CMAKE_CROSSCOMPILING_EMULATOR.rst
@@ -0,0 +1,12 @@
+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.
+
+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.