CMAKE_SYSTEM_NAME.rst 281 B

12345678
  1. CMAKE_SYSTEM_NAME
  2. -----------------
  3. Name of the OS CMake is building for.
  4. This is the name of the OS on which CMake is targeting. This variable
  5. is the same as :variable:`CMAKE_HOST_SYSTEM_NAME` if you build for the
  6. host system instead of the target system when cross compiling.