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

Composite name of operating system 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`.