diff options
author | Brad King <brad.king@kitware.com> | 2004-01-05 16:02:38 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2004-01-05 16:02:38 (GMT) |
commit | fca398f961e1b9b950f79f180bb3826b8368a985 (patch) | |
tree | f913bb64e4cfdcdb24dca281d692f591791fcba4 /Source/kwsys/kwsysPlatformCxxTests.cmake | |
parent | f3d1225669e0920aa172329842ff73aec75e6651 (diff) | |
download | CMake-fca398f961e1b9b950f79f180bb3826b8368a985.zip CMake-fca398f961e1b9b950f79f180bb3826b8368a985.tar.gz CMake-fca398f961e1b9b950f79f180bb3826b8368a985.tar.bz2 |
ERR: Removed use of FILE command and using WRITE_FILE instead. We would still like CMake 1.6 to be able to build CMake CVS, and kwsys is used.
Diffstat (limited to 'Source/kwsys/kwsysPlatformCxxTests.cmake')
-rw-r--r-- | Source/kwsys/kwsysPlatformCxxTests.cmake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/kwsys/kwsysPlatformCxxTests.cmake b/Source/kwsys/kwsysPlatformCxxTests.cmake index faf7633..1b5b98a 100644 --- a/Source/kwsys/kwsysPlatformCxxTests.cmake +++ b/Source/kwsys/kwsysPlatformCxxTests.cmake @@ -7,11 +7,11 @@ MACRO(KWSYS_PLATFORM_CXX_TEST var description invert) COMPILE_DEFINITIONS -DTEST_${var} OUTPUT_VARIABLE OUTPUT) IF(${var}_COMPILED) - FILE(APPEND ${CMAKE_CURRENT_BINARY_DIR}/CMakeOutput.log - "${description} compiled with the following output:\n${OUTPUT}\n\n") + WRITE_FILE(${CMAKE_CURRENT_BINARY_DIR}/CMakeOutput.log + "${description} compiled with the following output:\n${OUTPUT}\n\n" APPEND) ELSE(${var}_COMPILED) - FILE(APPEND ${CMAKE_CURRENT_BINARY_DIR}/CMakeError.log - "${description} failed to compile with the following output:\n${OUTPUT}\n\n") + WRITE_FILE(${CMAKE_CURRENT_BINARY_DIR}/CMakeError.log + "${description} failed to compile with the following output:\n${OUTPUT}\n\n" APPEND) ENDIF(${var}_COMPILED) IF(${invert} MATCHES INVERT) IF(${var}_COMPILED) |