D24496: Use ECMGenerateExportHeader to manage deprecated API better

Friedrich W. H. Kossebau noreply at phabricator.kde.org
Tue Oct 8 14:28:24 BST 2019


kossebau created this revision.
kossebau added a reviewer: Frameworks.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
kossebau requested review of this revision.

REVISION SUMMARY
  Allows
  
  - projects linking to KConfigCore/Gui to hide deprecated API up to a given version or silence deprecation warnings after a given version, using
    - -DKCONFIGCORE_DISABLE_DEPRECATED_BEFORE_AND_AT
    - -DKCONFIGCORE_NO_DEPRECATED
    - -DKCONFIGCORE_DEPRECATED_WARNINGS_SINCE
    - -DKCONFIGCORE_NO_DEPRECATED_WARNINGS
    - -DKCONFIGGUI_DISABLE_DEPRECATED_BEFORE_AND_AT
    - -DKCONFIGGUI_NO_DEPRECATED
    - -DKCONFIGGUI_DEPRECATED_WARNINGS_SINCE
    - -DKCONFIGGUI_NO_DEPRECATED_WARNINGS
  
      or
    - -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT
    - -DKF_NO_DEPRECATED
    - -DKF_DEPRECATED_WARNINGS_SINCE
    - -DKF_NO_DEPRECATED_WARNINGS
  - to build KConfigCore/Gui 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.0.0, 5.0.0,
  5.11.0, 5.24.0, 5.39.0, 5.42.0, CURRENT.

REPOSITORY
  R237 KConfig

BRANCH
  useECMGenerateExportHeader

REVISION DETAIL
  https://phabricator.kde.org/D24496

AFFECTED FILES
  CMakeLists.txt
  autotests/kconfigtest.cpp
  autotests/kdesktopfiletest.cpp
  autotests/kdesktopfiletest.h
  src/core/CMakeLists.txt
  src/core/kauthorized.cpp
  src/core/kauthorized.h
  src/core/kconfig.cpp
  src/core/kconfig.h
  src/core/kconfiggroup.cpp
  src/core/kconfiggroup.h
  src/core/kcoreconfigskeleton.cpp
  src/core/kcoreconfigskeleton.h
  src/core/kdesktopfile.cpp
  src/core/kdesktopfile.h
  src/core/kemailsettings.cpp
  src/core/kemailsettings.h
  src/gui/CMakeLists.txt
  src/gui/kconfiggui.cpp
  src/gui/kconfiggui.h
  src/gui/kconfigloader.cpp
  src/gui/kconfigloader.h
  src/gui/kstandardshortcut.cpp
  src/gui/kstandardshortcut.h

To: kossebau, #frameworks
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/20191008/295d72f9/attachment.html>


More information about the Kde-frameworks-devel mailing list