diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-08-10 13:07:39 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-08-10 13:07:39 (GMT) |
commit | 512e0d40efbefefdd8296bbdb84be56597b072f2 (patch) | |
tree | eac10b393b170b8edef12f80602598883a1de8db /Modules/CMakeDetermineSystem.cmake | |
parent | f9cb0f3cb44635ffaa70ae66eb5a615d90b1a861 (diff) | |
download | CMake-512e0d40efbefefdd8296bbdb84be56597b072f2.zip CMake-512e0d40efbefefdd8296bbdb84be56597b072f2.tar.gz CMake-512e0d40efbefefdd8296bbdb84be56597b072f2.tar.bz2 |
ENH: set UNIX, WIN32 and APPLE in cmMakefile.cxx as it was before, so it
works for scripts, then reset them in CMakeSystemSpecificInformation.cxx, so
the platform modules can set them again for the target system
Alex
Diffstat (limited to 'Modules/CMakeDetermineSystem.cmake')
-rw-r--r-- | Modules/CMakeDetermineSystem.cmake | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Modules/CMakeDetermineSystem.cmake b/Modules/CMakeDetermineSystem.cmake index 7e6a6dd..c7db715 100644 --- a/Modules/CMakeDetermineSystem.cmake +++ b/Modules/CMakeDetermineSystem.cmake @@ -60,19 +60,6 @@ ELSE(CMAKE_HOST_UNIX) ENDIF(CMAKE_HOST_WIN32) ENDIF(CMAKE_HOST_UNIX) -# this is for compatibility -# with cmake 2.4 these variables were compiled in -# now that cmake has to separate between host and target platform -# two sets are needed. For compatibility the old set of variables is here -# set to the compiled-in values, so they still work in custom -# language or compiler modules where they might be used. -# After that they are reset in CMakeSystemSpecificInformation.cmake -# and then set according to the current target platform in the Modules/${CMAKE_SYSTEM_NAME}.cmake file -SET(APPLE ${CMAKE_HOST_APPLE}) -SET(UNIX ${CMAKE_HOST_UNIX}) -SET(CYGWIN ${CMAKE_HOST_CYGWIN}) -SET(WIN32 ${CMAKE_HOST_WIN32}) - # if a toolchain file is used, the user wants to cross compile. # in this case read the toolchain file and keep the CMAKE_HOST_SYSTEM_* # variables around so they can be used in CMakeLists.txt. |