https://github.com/Kitware/CMake
Raw File
Tip revision: 1ec72e09471287630cf142d8587a9b8d9abad629 authored by Brad King on 12 March 2020, 13:45:24 UTC
CMake 3.17.0-rc3
Tip revision: 1ec72e0
CMAKE_HOST_SYSTEM.rst
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`.
back to top