kossebau created this revision. kossebau added reviewers: Frameworks, mlaurent. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. kossebau requested review of this revision.
REVISION SUMMARY Allows - projects linking to KTextWidgets to hide deprecated API up to a given version or silence deprecation warnings after a given version, using - -DKTEXTWIDGETS_DISABLE_DEPRECATED_BEFORE_AND_AT - -DKTEXTWIDGETS_NO_DEPRECATED - -DKTEXTWIDGETS_DEPRECATED_WARNINGS_SINCE - -DKTEXTWIDGETS_NO_DEPRECATED_WARNINGS or - -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT - -DKF_NO_DEPRECATED - -DKF_DEPRECATED_WARNINGS_SINCE - -DKF_NO_DEPRECATED_WARNINGS - to build KTextWidgets 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. REPOSITORY R310 KTextWidgets BRANCH useECMGenerateExportHeader REVISION DETAIL https://phabricator.kde.org/D24595 AFFECTED FILES CMakeLists.txt src/CMakeLists.txt src/widgets/ktextedit.h To: kossebau, #frameworks, mlaurent Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns