"Fossies" - the Fresh Open Source Software Archive

Member "cmake-3.6.2-win32-x86/share/cmake-3.6/Help/variable/CMAKE_SYSTEM_NAME.rst" (7 Sep 2016, 708 Bytes) of archive /windows/misc/cmake-3.6.2-win32-x86.zip:

As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.


The name of the operating system for which CMake is to build. See the :variable:CMAKE_SYSTEM_VERSION variable for the OS version.

System Name for Host Builds ^^^^^^^^^^^^^^^^^^^^^^^^^^^

CMAKE_SYSTEM_NAME is by default set to the same value as the :variable:CMAKE_HOST_SYSTEM_NAME variable so that the build targets the host system.

System Name for Cross Compiling ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

CMAKE_SYSTEM_NAME may be set explicitly when first configuring a new build tree in order to enable :ref:cross compiling <Cross Compiling Toolchain>. In this case the :variable:CMAKE_SYSTEM_VERSION variable must also be set explicitly.