diff options
author | Brad King <brad.king@kitware.com> | 2005-09-21 18:15:14 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-09-21 18:15:14 (GMT) |
commit | d134ac9bd3e2eabcb65aea6c2954b96e8f05f408 (patch) | |
tree | 962d6617935b3fae3f00dc44934299a5f361cfe9 /Source/kwsys | |
parent | 393adee4d4becc281f9a300555db89d7cb93dd50 (diff) | |
download | CMake-d134ac9bd3e2eabcb65aea6c2954b96e8f05f408.zip CMake-d134ac9bd3e2eabcb65aea6c2954b96e8f05f408.tar.gz CMake-d134ac9bd3e2eabcb65aea6c2954b96e8f05f408.tar.bz2 |
ENH: Updated to use modern FILE command for writing to output logs instead of WRITE_FILE.
Diffstat (limited to 'Source/kwsys')
-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 0bd8b62..6da82d6 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} ${KWSYS_PLATFORM_CXX_TEST_DEFINES} OUTPUT_VARIABLE OUTPUT) IF(${var}_COMPILED) - WRITE_FILE(${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/CMakeOutput.log - "${description} compiled with the following output:\n${OUTPUT}\n\n" APPEND) + FILE(APPEND ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/CMakeOutput.log + "${description} compiled with the following output:\n${OUTPUT}\n\n") ELSE(${var}_COMPILED) - WRITE_FILE(${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/CMakeError.log - "${description} failed to compile with the following output:\n${OUTPUT}\n\n" APPEND) + FILE(APPEND ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/CMakeError.log + "${description} failed to compile with the following output:\n${OUTPUT}\n\n") ENDIF(${var}_COMPILED) IF(${invert} MATCHES INVERT) IF(${var}_COMPILED) |