summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineSystem.cmake
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-08-08 15:59:07 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-08-08 15:59:07 (GMT)
commit8149dbed29973c2f37dcea0357cdb94ad84ecfb1 (patch)
tree80720127011181188b234a140b5346d38e79d09a /Modules/CMakeDetermineSystem.cmake
parent565ed7d8a184fdf4157f4c2c4fabe1ce4b07fde3 (diff)
downloadCMake-8149dbed29973c2f37dcea0357cdb94ad84ecfb1.zip
CMake-8149dbed29973c2f37dcea0357cdb94ad84ecfb1.tar.gz
CMake-8149dbed29973c2f37dcea0357cdb94ad84ecfb1.tar.bz2
ENH: Cleanups and add missing CMakeOutput.log and CMakeError.log appending. Close Bug #136 - Verify that all modules that do try compile produce CMakeError.log and CMakeOutput.log
Diffstat (limited to 'Modules/CMakeDetermineSystem.cmake')
-rw-r--r--Modules/CMakeDetermineSystem.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/CMakeDetermineSystem.cmake b/Modules/CMakeDetermineSystem.cmake
index ef6d408..922a48c 100644
--- a/Modules/CMakeDetermineSystem.cmake
+++ b/Modules/CMakeDetermineSystem.cmake
@@ -62,6 +62,9 @@ IF(CMAKE_SYSTEM_VERSION)
ENDIF(CMAKE_SYSTEM_VERSION)
+FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeOutput.log
+ "The system is: ${CMAKE_SYSTEM_NAME} - ${CMAKE_SYSTEM_VERSION} - ${CMAKE_SYSTEM_PROCESSOR}\n")
+
# configure variables set in this file for fast reload
CONFIGURE_FILE(${CMAKE_ROOT}/Modules/CMakeSystem.cmake.in
${CMAKE_BINARY_DIR}/CMakeSystem.cmake IMMEDIATE)