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

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