D23800: RFC: Use ECMGenerateExportHeader to manage deprecated API better
Friedrich W. H. Kossebau
noreply at phabricator.kde.org
Mon Sep 9 17:06:09 BST 2019
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190909/e84d89ed/attachment.html>
More information about the Kde-frameworks-devel
mailing list