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

Name of the OS CMake is running on.

On systems that have the uname command, this variable is set to the
output of ``uname -s``.  ``Linux``, ``Windows``, and ``Darwin`` for macOS
are the values found on the big three operating systems.

For a list of possible values, see :variable:`CMAKE_SYSTEM_NAME`.