summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_HOST_SYSTEM.rst
diff options
context:
space:
mode:
authorJiri Malak <malak.jiri@gmail.com>2014-03-04 06:25:02 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-04 15:01:26 (GMT)
commit06986afc4b4708bd6ac74117474bc2738e4a20f7 (patch)
treed28074474b3f7e6ffbf55f23975b284725b2e769 /Help/variable/CMAKE_HOST_SYSTEM.rst
parent74b982ce734dd55a4155ba8ba0462fef894d6ec0 (diff)
downloadCMake-06986afc4b4708bd6ac74117474bc2738e4a20f7.zip
CMake-06986afc4b4708bd6ac74117474bc2738e4a20f7.tar.gz
CMake-06986afc4b4708bd6ac74117474bc2738e4a20f7.tar.bz2
Help: Update CMAKE_SYSTEM* and CMAKE_HOST_SYSTEM* documentation
Update to documentation for HOST/TARGET system related variables to be consistent with current functionality.
Diffstat (limited to 'Help/variable/CMAKE_HOST_SYSTEM.rst')
-rw-r--r--Help/variable/CMAKE_HOST_SYSTEM.rst9
1 files changed, 6 insertions, 3 deletions
diff --git a/Help/variable/CMAKE_HOST_SYSTEM.rst b/Help/variable/CMAKE_HOST_SYSTEM.rst
index 4366ee3..c2a8f1a 100644
--- a/Help/variable/CMAKE_HOST_SYSTEM.rst
+++ b/Help/variable/CMAKE_HOST_SYSTEM.rst
@@ -1,7 +1,10 @@
CMAKE_HOST_SYSTEM
-----------------
-Name of system cmake is being run on.
+Composit Name of OS CMake is being run on.
-The same as CMAKE_SYSTEM but for the host system instead of the target
-system when cross compiling.
+This variable is the composite of :variable:`CMAKE_HOST_SYSTEM_NAME` and
+:variable:`CMAKE_HOST_SYSTEM_VERSION`, e.g.
+``${CMAKE_HOST_SYSTEM_NAME}-${CMAKE_HOST_SYSTEM_VERSION}``. If
+:variable:`CMAKE_HOST_SYSTEM_VERSION` is not set, then this variable is
+the same as :variable:`CMAKE_HOST_SYSTEM_NAME`.