Merge topic 'deprecation-macro-refactor'

cdf55d5 GEH: Make each element of the deprecation macros overridable.
80d5090 GEH: Use the macro for the deprecation attribute after definiting it.
This commit is contained in:
Brad King 2013-10-07 15:44:39 -04:00 committed by CMake Topic Stage
commit c76b380181
1 changed files with 8 additions and 2 deletions

View File

@ -23,8 +23,14 @@
#ifndef @DEPRECATED_MACRO_NAME@ #ifndef @DEPRECATED_MACRO_NAME@
# define @DEPRECATED_MACRO_NAME@ @DEFINE_DEPRECATED@ # define @DEPRECATED_MACRO_NAME@ @DEFINE_DEPRECATED@
# define @DEPRECATED_MACRO_NAME@_EXPORT @EXPORT_MACRO_NAME@ @DEFINE_DEPRECATED@ #endif
# define @DEPRECATED_MACRO_NAME@_NO_EXPORT @NO_EXPORT_MACRO_NAME@ @DEFINE_DEPRECATED@
#ifndef @DEPRECATED_MACRO_NAME@_EXPORT
# define @DEPRECATED_MACRO_NAME@_EXPORT @EXPORT_MACRO_NAME@ @DEPRECATED_MACRO_NAME@
#endif
#ifndef @DEPRECATED_MACRO_NAME@_NO_EXPORT
# define @DEPRECATED_MACRO_NAME@_NO_EXPORT @NO_EXPORT_MACRO_NAME@ @DEPRECATED_MACRO_NAME@
#endif #endif
#cmakedefine01 DEFINE_NO_DEPRECATED #cmakedefine01 DEFINE_NO_DEPRECATED