summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_HOST_SYSTEM.rst
blob: c2a8f1a5f358a7c71153021aed0f93a9f2f251c6 (plain)
1
2
3
4
5
6
7
8
9
10
CMAKE_HOST_SYSTEM
-----------------

Composit Name of OS CMake is being run on.

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`.