D23800: RFC: Use ECMGenerateExportHeader to manage deprecated API better
kossebau updated this revision to Diff 67221. kossebau added a comment. - update to latest version of ecm_generate_export_header with deprecation text support REPOSITORY R244 KCoreAddons CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D23800?vs=65686=67221 BRANCH useECMGenerateExportHeader REVISION DETAIL https://phabricator.kde.org/D23800 AFFECTED FILES CMakeLists.txt autotests/kaboutdatatest.cpp autotests/kusertest.cpp src/lib/CMakeLists.txt src/lib/kaboutdata.cpp src/lib/kaboutdata.h src/lib/plugin/kexportplugin.h src/lib/plugin/kpluginfactory.cpp src/lib/plugin/kpluginfactory.h src/lib/util/kuser.h To: kossebau Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
D23800: RFC: Use ECMGenerateExportHeader to manage deprecated API better
kossebau edited the summary of this revision. REPOSITORY R244 KCoreAddons REVISION DETAIL https://phabricator.kde.org/D23800 To: kossebau Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
D23800: RFC: Use ECMGenerateExportHeader to manage deprecated API better
kossebau added a dependency: D23789: WIP: Add ECMGenerateExportHeaders, for improved handling of deprecated API. REPOSITORY R244 KCoreAddons REVISION DETAIL https://phabricator.kde.org/D23800 To: kossebau Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
D23800: RFC: Use ECMGenerateExportHeader to manage deprecated API better
kossebau created this revision. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. kossebau requested review of this revision. REVISION SUMMARY Allows - projects linking to KCoreAddons to hide deprecated API up to a given version or silence deprecation warnings before a given version, using -DKCOREADDONS_DISABLE_DEPRECATED_BEFORE_AND_AT -DKCOREADDONS_DEPRECATED_WARNINGS_SINCE -DKCOREADDONS_NO_DEPRECATED_WARNINGS -DKCOREADDONS_NO_DEPRECATED or -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT -DKF_DEPRECATED_WARNINGS_SINCE -DKF_NO_DEPRECATED_WARNINGS -DKF_NO_DEPRECATED - to build KCoreAddons optionally with deprecated API excluded from the build, using "EXCLUDE_DEPRECATED_BEFORE_AND_AT" cmake argument. TEST PLAN Builds with EXCLUDE_DEPRECATED_BEFORE_AND_AT set to 0, 5.0.0, CURRENT and all the versions where deprecations were done. REPOSITORY R244 KCoreAddons BRANCH useECMGenerateExportHeader REVISION DETAIL https://phabricator.kde.org/D23800 AFFECTED FILES CMakeLists.txt autotests/kaboutdatatest.cpp autotests/kusertest.cpp src/lib/CMakeLists.txt src/lib/kaboutdata.cpp src/lib/kaboutdata.h src/lib/plugin/kexportplugin.h src/lib/plugin/kpluginfactory.cpp src/lib/plugin/kpluginfactory.h src/lib/util/kuser.h To: kossebau Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns