CMake/Help/variable/CMAKE_SYSTEM_NAME.rst

9 lines
309 B
ReStructuredText

CMAKE_SYSTEM_NAME
-----------------
Name of the operating system CMake is building for.
This is the name of the operating system on which CMake is targeting. This
variable is the same as :variable:`CMAKE_HOST_SYSTEM_NAME` if you build for the
host system instead of the target system when cross compiling.