diff options
author | Jiri Malak <malak.jiri@gmail.com> | 2014-03-04 06:25:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-04 15:01:26 (GMT) |
commit | 06986afc4b4708bd6ac74117474bc2738e4a20f7 (patch) | |
tree | d28074474b3f7e6ffbf55f23975b284725b2e769 /Help/variable/CMAKE_HOST_SYSTEM.rst | |
parent | 74b982ce734dd55a4155ba8ba0462fef894d6ec0 (diff) | |
download | CMake-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.rst | 9 |
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`. |