소스 검색

Add some debug output to narrow down deprecation test issues

Particularly Borland and VS7.0 seem to still be failing.
Stephen Kelly 14 년 전
부모
커밋
7fa559232e
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      Modules/GenerateExportHeader.cmake

+ 2 - 0
Modules/GenerateExportHeader.cmake

@@ -149,7 +149,9 @@ macro(_DO_SET_MACRO_VALUES TARGET_LIBRARY)
   set(DEFINE_NO_EXPORT)
 
   if(WIN32)
+    message("Compiler is ${CMAKE_CXX_COMPILER_ID}")
     if (NOT ${CMAKE_CXX_COMPILER_ID} MATCHES Borland)
+      message("Deprecation macro enabled.")
       set(DEFINE_DEPRECATED "__declspec(deprecated)")
     endif()
   else()