D24468: Use ECMGenerateExportHeader to manage deprecated API better
Friedrich W. H. Kossebau
noreply at phabricator.kde.org
Mon Oct 7 14:27:49 BST 2019
kossebau created this revision.
kossebau added reviewers: Frameworks, cfeck.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
kossebau requested review of this revision.
REVISION SUMMARY
Allows
- projects linking to KWidgetsAddons to hide deprecated API up to a given version or silence deprecation warnings after a given version, using
- -DKWIDGETSADDONS_DISABLE_DEPRECATED_BEFORE_AND_AT
- -DKWIDGETSADDONS_NO_DEPRECATED
- -DKWIDGETSADDONS_DEPRECATED_WARNINGS_SINCE
- -DKWIDGETSADDONS_NO_DEPRECATED_WARNINGS
or
- -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT
- -DKF_NO_DEPRECATED
- -DKF_DEPRECATED_WARNINGS_SINCE
- -DKF_NO_DEPRECATED_WARNINGS
- to build KWidgetsAddons 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, 5.13.0,
CURRENT.
REPOSITORY
R236 KWidgetsAddons
BRANCH
useECMGenerateExportHeader
REVISION DETAIL
https://phabricator.kde.org/D24468
AFFECTED FILES
CMakeLists.txt
src/CMakeLists.txt
src/kactionmenu.cpp
src/kactionmenu.h
src/kmessagebox.h
src/kmultitabbar.cpp
src/kmultitabbar.h
src/kratingwidget.cpp
src/kratingwidget.h
src/kruler.cpp
src/kruler.h
src/ktoolbarpopupaction.cpp
src/ktoolbarpopupaction.h
To: kossebau, #frameworks, cfeck
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/20191007/c4508869/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list