The name of the operating system for which CMake is to build. See the
CMAKE_SYSTEM_VERSION variable for the OS version.
CMAKE_SYSTEM_NAME is not set to anything by default when running in script mode, since it’s not building anything.
CMAKE_SYSTEM_NAME is by default set to the same value as the
CMAKE_HOST_SYSTEM_NAME variable so that the build targets the host system.
© 2000–2019 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.