Add some debug output to narrow down deprecation test issues
Particularly Borland and VS7.0 seem to still be failing.
This commit is contained in:
parent
7924c1d6a8
commit
7fa559232e
|
@ -149,7 +149,9 @@ macro(_DO_SET_MACRO_VALUES TARGET_LIBRARY)
|
||||||
set(DEFINE_NO_EXPORT)
|
set(DEFINE_NO_EXPORT)
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
|
message("Compiler is ${CMAKE_CXX_COMPILER_ID}")
|
||||||
if (NOT ${CMAKE_CXX_COMPILER_ID} MATCHES Borland)
|
if (NOT ${CMAKE_CXX_COMPILER_ID} MATCHES Borland)
|
||||||
|
message("Deprecation macro enabled.")
|
||||||
set(DEFINE_DEPRECATED "__declspec(deprecated)")
|
set(DEFINE_DEPRECATED "__declspec(deprecated)")
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
|
|
Loading…
Reference in New Issue