Add temporary debug output for compiler ID detection for ASM

Alex
This commit is contained in:
Alex Neundorf 2011-03-01 21:41:02 +01:00
parent 48f7199df0
commit 9071b8b87f
1 changed files with 7 additions and 0 deletions

View File

@ -287,6 +287,13 @@ FUNCTION(CMAKE_DETERMINE_COMPILER_ID_VENDOR lang)
RESULT_VARIABLE result RESULT_VARIABLE result
TIMEOUT 10 TIMEOUT 10
) )
IF("${lang}" STREQUAL "ASM")
MESSAGE(STATUS "Checked for ${vendor}")
MESSAGE(STATUS " Output: -${output}-")
MESSAGE(STATUS " Result: -${result}-")
ENDIF("${lang}" STREQUAL "ASM")
IF("${output}" MATCHES "${regex}") IF("${output}" MATCHES "${regex}")
FILE(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log FILE(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log
"Checking whether the ${lang} compiler is ${vendor} using \"${flags}\" " "Checking whether the ${lang} compiler is ${vendor} using \"${flags}\" "