Explorar el Código

Add temporary debug output for compiler ID detection for ASM

Alex
Alex Neundorf hace 14 años
padre
commit
9071b8b87f
Se han modificado 1 ficheros con 7 adiciones y 0 borrados
  1. 7 0
      Modules/CMakeDetermineCompilerId.cmake

+ 7 - 0
Modules/CMakeDetermineCompilerId.cmake

@@ -287,6 +287,13 @@ FUNCTION(CMAKE_DETERMINE_COMPILER_ID_VENDOR lang)
       RESULT_VARIABLE result
       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}")
       FILE(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log
         "Checking whether the ${lang} compiler is ${vendor} using \"${flags}\" "