ENH: change loc of log files

This commit is contained in:
Ken Martin 2005-07-29 13:19:44 -04:00
parent 8dc6db4777
commit db28904467
1 changed files with 2 additions and 2 deletions

View File

@ -7,10 +7,10 @@ MACRO(KWSYS_PLATFORM_CXX_TEST var description invert)
COMPILE_DEFINITIONS -DTEST_${var} ${KWSYS_PLATFORM_CXX_TEST_DEFINES} COMPILE_DEFINITIONS -DTEST_${var} ${KWSYS_PLATFORM_CXX_TEST_DEFINES}
OUTPUT_VARIABLE OUTPUT) OUTPUT_VARIABLE OUTPUT)
IF(${var}_COMPILED) IF(${var}_COMPILED)
WRITE_FILE(${CMAKE_CURRENT_BINARY_DIR}/CMakeOutput.log WRITE_FILE(${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/CMakeOutput.log
"${description} compiled with the following output:\n${OUTPUT}\n\n" APPEND) "${description} compiled with the following output:\n${OUTPUT}\n\n" APPEND)
ELSE(${var}_COMPILED) ELSE(${var}_COMPILED)
WRITE_FILE(${CMAKE_CURRENT_BINARY_DIR}/CMakeError.log WRITE_FILE(${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/CMakeError.log
"${description} failed to compile with the following output:\n${OUTPUT}\n\n" APPEND) "${description} failed to compile with the following output:\n${OUTPUT}\n\n" APPEND)
ENDIF(${var}_COMPILED) ENDIF(${var}_COMPILED)
IF(${invert} MATCHES INVERT) IF(${invert} MATCHES INVERT)