D24617: Use ECMGenerateExportHeader to manage deprecated API better
Friedrich W. H. Kossebau
noreply at phabricator.kde.org
Sun Oct 13 18:34:23 BST 2019
kossebau created this revision.
kossebau added reviewers: Frameworks, aacid.
Herald added projects: Frameworks, Baloo.
Herald added subscribers: Baloo, kde-frameworks-devel.
kossebau requested review of this revision.
REVISION SUMMARY
Allows
- projects linking to Baloo to hide deprecated API up to a given version or silence deprecation warnings after a given version, using
- -DBALOO_CORE_DISABLE_DEPRECATED_BEFORE_AND_AT
- -DBALOO_CORE_NO_DEPRECATED
- -DBALOO_CORE_DEPRECATED_WARNINGS_SINCE
- -DBALOO_CORE_NO_DEPRECATED_WARNINGS
or
- -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT
- -DKF_NO_DEPRECATED
- -DKF_DEPRECATED_WARNINGS_SINCE
- -DKF_NO_DEPRECATED_WARNINGS
- to build Baloo 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.55.0,
CURRENT.
REPOSITORY
R293 Baloo
BRANCH
useECMGenerateExportHeader
REVISION DETAIL
https://phabricator.kde.org/D24617
AFFECTED FILES
CMakeLists.txt
src/lib/CMakeLists.txt
src/lib/resultiterator.cpp
src/lib/resultiterator.h
To: kossebau, #frameworks, aacid
Cc: kde-frameworks-devel, #baloo, hurikhan77, lots0logs, LeGast00n, fbampaloukas, GB_2, domson, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191013/205459bb/attachment.html>
More information about the Kde-frameworks-devel
mailing list