cmake/Help/variable/CMAKE_SYSTEM.rst

11 lines
358 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
CMAKE_SYSTEM
------------
2015-11-17 17:22:37 +01:00
Composite name of operating system CMake is compiling for.
2014-08-03 19:52:23 +02:00
2015-04-27 22:25:09 +02:00
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`.