GEH: Use the macro for the deprecation attribute after definiting it.
This way, it is more-easily overridden.
This commit is contained in:
parent
d2cf4e990c
commit
80d5090a2c
|
@ -23,8 +23,8 @@
|
||||||
|
|
||||||
#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@
|
# define @DEPRECATED_MACRO_NAME@_EXPORT @EXPORT_MACRO_NAME@ @DEPRECATED_MACRO_NAME@
|
||||||
# define @DEPRECATED_MACRO_NAME@_NO_EXPORT @NO_EXPORT_MACRO_NAME@ @DEFINE_DEPRECATED@
|
# define @DEPRECATED_MACRO_NAME@_NO_EXPORT @NO_EXPORT_MACRO_NAME@ @DEPRECATED_MACRO_NAME@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#cmakedefine01 DEFINE_NO_DEPRECATED
|
#cmakedefine01 DEFINE_NO_DEPRECATED
|
||||||
|
|
Loading…
Reference in New Issue