summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2011-08-10 21:57:04 (GMT)
committerStephen Kelly <steveire@gmail.com>2011-08-10 21:57:04 (GMT)
commit7fa559232e6bca09c0f24c0a3da2a83a5c395be3 (patch)
treeb6837feea253f6e98d7f9902f88f786c0da5dbf8
parent7924c1d6a8db87ded487e744ba3e8881e8336d00 (diff)
downloadCMake-7fa559232e6bca09c0f24c0a3da2a83a5c395be3.zip
CMake-7fa559232e6bca09c0f24c0a3da2a83a5c395be3.tar.gz
CMake-7fa559232e6bca09c0f24c0a3da2a83a5c395be3.tar.bz2
Add some debug output to narrow down deprecation test issues
Particularly Borland and VS7.0 seem to still be failing.
-rw-r--r--Modules/GenerateExportHeader.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/GenerateExportHeader.cmake b/Modules/GenerateExportHeader.cmake
index c921d89..9dd8f4a 100644
--- a/Modules/GenerateExportHeader.cmake
+++ b/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()