https://github.com/Kitware/CMake
Raw File
Tip revision: 22612dd53a46c7f9b4c3f4b7dbe5c78f9afd9581 authored by Brad King on 15 March 2021, 13:39:14 UTC
CMake 3.19.7
Tip revision: 22612dd
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