BUG: Fix location of CMakeOutput.log and CMakeError.log.
This commit is contained in:
parent
ff9c167e64
commit
e61eac3f05
|
@ -8,11 +8,11 @@ MACRO(KWSYS_PLATFORM_CXX_TEST var description invert)
|
||||||
OUTPUT_VARIABLE OUTPUT)
|
OUTPUT_VARIABLE OUTPUT)
|
||||||
IF(${var}_COMPILED)
|
IF(${var}_COMPILED)
|
||||||
FILE(APPEND
|
FILE(APPEND
|
||||||
${CMAKE_CURRENT_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log
|
${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log
|
||||||
"${description} compiled with the following output:\n${OUTPUT}\n\n")
|
"${description} compiled with the following output:\n${OUTPUT}\n\n")
|
||||||
ELSE(${var}_COMPILED)
|
ELSE(${var}_COMPILED)
|
||||||
FILE(APPEND
|
FILE(APPEND
|
||||||
${CMAKE_CURRENT_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log
|
${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log
|
||||||
"${description} failed to compile with the following output:\n${OUTPUT}\n\n")
|
"${description} failed to compile with the following output:\n${OUTPUT}\n\n")
|
||||||
ENDIF(${var}_COMPILED)
|
ENDIF(${var}_COMPILED)
|
||||||
IF(${invert} MATCHES INVERT)
|
IF(${invert} MATCHES INVERT)
|
||||||
|
|
Loading…
Reference in New Issue