summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_SYSTEM_NAME.rst
blob: 189dc18fcded3a5850cf7f0625add4347f3c4d43 (plain)
1
2
3
4
5
6
7
8
CMAKE_SYSTEM_NAME
-----------------

Name of the OS CMake is building for.

This is the name of the OS on which CMake is targeting.  This variable
is the same as :variable:`CMAKE_HOST_SYSTEM_NAME` if you build for the
host system instead of the target system when cross compiling.