mirror of
https://github.com/reactos/CMake.git
synced 2024-11-27 05:20:34 +00:00
c148803a57
Once CMAKE_SYSTEM_NAME is known, load a platform-specific Platform/<os>-Determine module in order to enable custom determination of the other settings needed for the CMakeSystem module (e.g. CMAKE_SYSTEM_PROCESSOR). Also add a hook in Modules/CMakeSystem.cmake.in to allow platform-specific information to be saved.
16 lines
563 B
CMake
16 lines
563 B
CMake
set(CMAKE_HOST_SYSTEM "@CMAKE_HOST_SYSTEM@")
|
|
set(CMAKE_HOST_SYSTEM_NAME "@CMAKE_HOST_SYSTEM_NAME@")
|
|
set(CMAKE_HOST_SYSTEM_VERSION "@CMAKE_HOST_SYSTEM_VERSION@")
|
|
set(CMAKE_HOST_SYSTEM_PROCESSOR "@CMAKE_HOST_SYSTEM_PROCESSOR@")
|
|
|
|
@INCLUDE_CMAKE_TOOLCHAIN_FILE_IF_REQUIRED@
|
|
|
|
set(CMAKE_SYSTEM "@CMAKE_SYSTEM@")
|
|
set(CMAKE_SYSTEM_NAME "@CMAKE_SYSTEM_NAME@")
|
|
set(CMAKE_SYSTEM_VERSION "@CMAKE_SYSTEM_VERSION@")
|
|
set(CMAKE_SYSTEM_PROCESSOR "@CMAKE_SYSTEM_PROCESSOR@")
|
|
@CMAKE_SYSTEM_CUSTOM_CODE@
|
|
set(CMAKE_CROSSCOMPILING "@CMAKE_CROSSCOMPILING@")
|
|
|
|
set(CMAKE_SYSTEM_LOADED 1)
|