https://github.com/Kitware/CMake
Raw File
Tip revision: 38643edc2de410311fbe76f7950190fc056b151a authored by Brad King on 11 October 2023, 18:33:33 UTC
CMake 3.28.0-rc1
Tip revision: 38643ed
CMAKE_HOST_SYSTEM_NAME.rst
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.
back to top