D24610: Use ECMGenerateExportHeader to manage deprecated API better
Friedrich W. H. Kossebau
noreply at phabricator.kde.org
Sun Oct 13 16:06:26 BST 2019
kossebau created this revision.
kossebau added reviewers: Frameworks, davidedmundson.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
kossebau requested review of this revision.
REVISION SUMMARY
Allows
- projects linking to KItemViews to hide deprecated API up to a given version or silence deprecation warnings after a given version, using
- -DKITEMVIEWS_DISABLE_DEPRECATED_BEFORE_AND_AT
- -DKITEMVIEWS_NO_DEPRECATED
- -DKITEMVIEWS_DEPRECATED_WARNINGS_SINCE
- -DKITEMVIEWS_NO_DEPRECATED_WARNINGS
or
- -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT
- -DKF_NO_DEPRECATED
- -DKF_DEPRECATED_WARNINGS_SINCE
- -DKF_NO_DEPRECATED_WARNINGS
- to build KItemViews 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, 4.2.0, 4.4.0,
5.0.0, 5.50.0, CURRENT.
REPOSITORY
R276 KItemViews
BRANCH
useECMGenerateExportHeader
REVISION DETAIL
https://phabricator.kde.org/D24610
AFFECTED FILES
CMakeLists.txt
src/CMakeLists.txt
src/designer/CMakeLists.txt
src/kcategorizedsortfilterproxymodel.cpp
src/kcategorizedsortfilterproxymodel.h
src/kcategorizedview.cpp
src/kcategorizedview.h
src/kcategorydrawer.h
src/kfilterproxysearchline.cpp
src/kfilterproxysearchline.h
src/klistwidgetsearchline.h
src/ktreewidgetsearchline.h
src/kwidgetitemdelegate.cpp
src/kwidgetitemdelegate.h
To: kossebau, #frameworks, davidedmundson
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/20191013/a5d93610/attachment.html>
More information about the Kde-frameworks-devel
mailing list