summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeSystem.cmake.in
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-05-29 15:36:07 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-05-29 15:36:07 (GMT)
commiteed7c8dec14a37660ed0bf74cac3bfd0221c1f5b (patch)
tree11ea16396d43457af188ba90237ed12b196f26cf /Modules/CMakeSystem.cmake.in
parentcfee916b7c90bafa372ff86f2b21d5800fc8bc99 (diff)
downloadCMake-eed7c8dec14a37660ed0bf74cac3bfd0221c1f5b.zip
CMake-eed7c8dec14a37660ed0bf74cac3bfd0221c1f5b.tar.gz
CMake-eed7c8dec14a37660ed0bf74cac3bfd0221c1f5b.tar.bz2
ENH: always provide CMAKE_SYSTEM_XXX() and MAKE_HOST_SYSTEM_XXX() variables,
so when cross compiling the build host platform can be tested Alex
Diffstat (limited to 'Modules/CMakeSystem.cmake.in')
-rw-r--r--Modules/CMakeSystem.cmake.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/Modules/CMakeSystem.cmake.in b/Modules/CMakeSystem.cmake.in
index 785f197..e6c4f9e 100644
--- a/Modules/CMakeSystem.cmake.in
+++ b/Modules/CMakeSystem.cmake.in
@@ -3,4 +3,11 @@ SET(CMAKE_SYSTEM_NAME "@CMAKE_SYSTEM_NAME@")
SET(CMAKE_SYSTEM_VERSION "@CMAKE_SYSTEM_VERSION@")
SET(CMAKE_SYSTEM_PROCESSOR "@CMAKE_SYSTEM_PROCESSOR@")
+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@")
+
+SET(CMAKE_CROSSCOMPILING "@CMAKE_CROSSCOMPILING@")
+
SET(CMAKE_SYSTEM_LOADED 1)