https://github.com/Kitware/CMake
Raw File
Tip revision: 451d1c8b6ccf2ebca0885ef05d9c65da33630411 authored by Brad King on 08 March 2023, 14:15:32 UTC
CMake 3.24.4
Tip revision: 451d1c8
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