D24497: Use ECMGenerateExportHeader to manage deprecated API better

Friedrich W. H. Kossebau noreply at phabricator.kde.org
Tue Oct 8 14:28:35 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 KConfigWidgets to hide deprecated API up to a given version or silence deprecation warnings after a given version, using
    - -DKCONFIGWIDGETS_DISABLE_DEPRECATED_BEFORE_AND_AT
    - -DKCONFIGWIDGETS_NO_DEPRECATED
    - -DKCONFIGWIDGETS_DEPRECATED_WARNINGS_SINCE
    - -DKCONFIGWIDGETS_NO_DEPRECATED_WARNINGS
  
      or
    - -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT
    - -DKF_NO_DEPRECATED
    - -DKF_DEPRECATED_WARNINGS_SINCE
    - -DKF_NO_DEPRECATED_WARNINGS
  - to build KConfigWidgets 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.23.0, 5.38.0, 5.39.0, CURRENT.

REPOSITORY
  R265 KConfigWidgets

BRANCH
  useECMGenerateExportHeader

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

AFFECTED FILES
  CMakeLists.txt
  autotests/kconfigdialog_unittest.cpp
  src/CMakeLists.txt
  src/kcmodule.cpp
  src/kcmodule.h
  src/kconfigdialogmanager.cpp
  src/kconfigdialogmanager.h
  src/kpastetextaction.cpp
  src/kpastetextaction.h
  src/kstandardaction.cpp
  src/kstandardaction.h
  src/kstandardaction_p.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/46a4ce02/attachment.html>


More information about the Kde-frameworks-devel mailing list