Andreas Schuh
6a6e5d89b5
GenerateExportHeader: Allow common NO_DEPRECATED_MACRO_NAME for multiple libs
2016-03-17 10:40:58 -04:00
Andreas Schuh
be5a8973c3
GenerateExportHeader: Do not define DEFINE_NO_DEPRECATED ( #16022 )
...
Previously we allowed this definition to persist outside our header.
This would cause conflicts across multiple such headers because the name
was always the same. Fix this by avoiding the definition altogether.
2016-03-17 10:40:24 -04:00
Stephen Kelly
cdf55d5cb4
GEH: Make each element of the deprecation macros overridable.
...
This way, we can override only FOO_DEPRECATED to silence deprecation
for a library.
2013-09-23 08:04:16 +02:00
Stephen Kelly
80d5090a2c
GEH: Use the macro for the deprecation attribute after definiting it.
...
This way, it is more-easily overridden.
2013-09-23 08:04:13 +02:00
Stephen Kelly
dbd776dde7
Don't put what some compilers consider junk at the end of the line.
2011-09-04 22:06:02 +02:00
Stephen Kelly
e0cc024dc9
Add missing NO_EXPORT macro variant.
2011-08-23 23:26:43 +02:00
Stephen Kelly
1b031d1a3f
More consistency in the macro options.
2011-08-23 23:21:29 +02:00
Stephen Kelly
def0a54e0a
Handle the case where the user changes the DEFINE_SYMBOL property.
...
This eases porting of KDE code.
2011-08-08 02:08:10 +02:00
Stephen Kelly
30880707c0
Add the GenerateExportMacro with unit tests.
...
Reviewed-by: Marcus D. Hanwell <marcus.hanwell@kitware.com>
2011-08-07 18:33:47 +02:00