D23802: RFC: Use ECMGenerateExportHeader to manage deprecated API better
Friedrich W. H. Kossebau
noreply at phabricator.kde.org
Mon Sep 9 17:20:55 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 KService to hide deprecated API up to a given version or silence deprecation warnings before a given version, using
- -DKSERVICE_DISABLE_DEPRECATED_BEFORE_AND_AT
- -DKSERVICE_DEPRECATED_WARNINGS_SINCE
- -DKSERVICE_NO_DEPRECATED_WARNINGS
- -DKSERVICE_NO_DEPRECATED or
- -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT
- -DKF_DEPRECATED_WARNINGS_SINCE
- -DKF_NO_DEPRECATED_WARNINGS
- -DKF_NO_DEPRECATED
- to build KService 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.
Builds with EXCLUDE_DEPRECATED_BEFORE_AND_AT set to 0, 5.0.0, CURRENT and
all the versions where deprecations were done.
REPOSITORY
R309 KService
BRANCH
useECMGenerateExportHeader
REVISION DETAIL
https://phabricator.kde.org/D23802
AFFECTED FILES
CMakeLists.txt
autotests/kplugininfotest.cpp
autotests/kservicetest.cpp
autotests/kservicetest.h
src/CMakeLists.txt
src/kdeinit/ktoolinvocation.cpp
src/kdeinit/ktoolinvocation.h
src/plugin/kdbusservicestarter.cpp
src/plugin/kdbusservicestarter.h
src/services/kplugininfo.cpp
src/services/kplugininfo.h
src/services/kservice.h
src/sycoca/ksycoca.cpp
src/sycoca/ksycoca.h
tests/CMakeLists.txt
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/dccbf6dd/attachment.html>
More information about the Kde-frameworks-devel
mailing list