summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_SYSTEM.rst
blob: 23f5980874062b071bec713b6da4df27908e1b89 (plain)
1
2
3
4
5
6
7
8
9
10
CMAKE_SYSTEM
------------

Composit Name of OS CMake is compiling for.

This variable is the composite of :variable:`CMAKE_SYSTEM_NAME` and
:variable:`CMAKE_SYSTEM_VERSION`, e.g.
``${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_VERSION}``.  If
:variable:`CMAKE_SYSTEM_VERSION` is not set, then this variable is
the same as :variable:`CMAKE_SYSTEM_NAME`.