summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-10-29 18:34:12 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-10-29 18:34:12 (GMT)
commitccafaa6bce51754ae4ae6dc4319f7ddf23df4055 (patch)
tree4ae93947001f7634d373eca66f55b1f26f7b8e57 /Modules
parent91bd2078123a417b74537652cffabab108ed15f3 (diff)
downloadCMake-ccafaa6bce51754ae4ae6dc4319f7ddf23df4055.zip
CMake-ccafaa6bce51754ae4ae6dc4319f7ddf23df4055.tar.gz
CMake-ccafaa6bce51754ae4ae6dc4319f7ddf23df4055.tar.bz2
Add append to write_file
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CheckFunctionExists.cmake2
-rw-r--r--Modules/CheckIncludeFile.cmake2
-rw-r--r--Modules/CheckLibraryExists.cmake5
-rw-r--r--Modules/CheckSizeOf.cmake3
-rw-r--r--Modules/TestBigEndian.cmake3
5 files changed, 9 insertions, 6 deletions
diff --git a/Modules/CheckFunctionExists.cmake b/Modules/CheckFunctionExists.cmake
index 6b9d4b7..4fddf4a 100644
--- a/Modules/CheckFunctionExists.cmake
+++ b/Modules/CheckFunctionExists.cmake
@@ -19,6 +19,6 @@ MACRO(CHECK_FUNCTION_EXISTS FUNCTION VARIABLE)
SET(${VARIABLE} "" CACHE INTERNAL "Have function ${LIBRARY}")
WRITE_FILE(${PROJECT_BINARY_DIR}/CMakeError.log
"Determining if the function ${FUNCTION} exists failed with the following output:\n"
- "${OUTPUT}\n")
+ "${OUTPUT}\n" APPEND)
ENDIF(${VARIABLE})
ENDMACRO(CHECK_FUNCTION_EXISTS)
diff --git a/Modules/CheckIncludeFile.cmake b/Modules/CheckIncludeFile.cmake
index 19f4dba..efefa15 100644
--- a/Modules/CheckIncludeFile.cmake
+++ b/Modules/CheckIncludeFile.cmake
@@ -21,6 +21,6 @@ MACRO(CHECK_INCLUDE_FILE INCLUDE VARIABLE)
WRITE_FILE(${PROJECT_BINARY_DIR}/CMakeError.log
"Determining if the include file ${INCLUDE} "
"exists failed with the following output:\n"
- "${OUTPUT}\n")
+ "${OUTPUT}\n" APPEND)
ENDIF(${VARIABLE})
ENDMACRO(CHECK_INCLUDE_FILE)
diff --git a/Modules/CheckLibraryExists.cmake b/Modules/CheckLibraryExists.cmake
index 7437b9b..ce3d6e7 100644
--- a/Modules/CheckLibraryExists.cmake
+++ b/Modules/CheckLibraryExists.cmake
@@ -23,7 +23,8 @@ MACRO(CHECK_LIBRARY_EXISTS LIBRARY FUNCTION LOCATION VARIABLE)
ELSE(${VARIABLE})
SET(${VARIABLE} "" CACHE INTERNAL "Have library ${LIBRARY}")
WRITE_FILE(${PROJECT_BINARY_DIR}/CMakeError.log
- "Determining if the function ${FUNCTION} exists in the ${LIBRARY} failed with the following output:\n"
- "${OUTPUT}\n")
+ "Determining if the function ${FUNCTION} exists in the ${LIBRARY} "
+ "failed with the following output:\n"
+ "${OUTPUT}\n" APPEND)
ENDIF(${VARIABLE})
ENDMACRO(CHECK_LIBRARY_EXISTS)
diff --git a/Modules/CheckSizeOf.cmake b/Modules/CheckSizeOf.cmake
index 82d9f43..57b7f21 100644
--- a/Modules/CheckSizeOf.cmake
+++ b/Modules/CheckSizeOf.cmake
@@ -22,6 +22,7 @@ MACRO(CHECK_TYPE_SIZE TYPE VARIABLE)
OUTPUT_VARIABLE OUTPUT)
IF(NOT HAVE_${VARIABLE})
WRITE_FILE(${PROJECT_BINARY_DIR}/CMakeError.log
- "Determining size of ${TYPE} failed with the following output:\n${OUTPUT}\n")
+ "Determining size of ${TYPE} failed with the following output:\n${OUTPUT}\n"
+ APPEND)
ENDIF(NOT HAVE_${VARIABLE})
ENDMACRO(CHECK_TYPE_SIZE)
diff --git a/Modules/TestBigEndian.cmake b/Modules/TestBigEndian.cmake
index c729a82..2be59e3 100644
--- a/Modules/TestBigEndian.cmake
+++ b/Modules/TestBigEndian.cmake
@@ -11,6 +11,7 @@ MACRO(TEST_BIG_ENDIAN VARIABLE)
OUTPUT_VARIABLE OUTPUT)
IF(NOT HAVE_${VARIABLE})
WRITE_FILE(${PROJECT_BINARY_DIR}/CMakeError.log
- "Determining the endianes of the system failed with the following output:\n${OUTPUT}\n")
+ "Determining the endianes of the system failed with the following output:\n${OUTPUT}\n"
+ APPEND)
ENDIF(NOT HAVE_${VARIABLE})
ENDMACRO(TEST_BIG_ENDIAN)