From 09d65adaf3605da0acda9e491c151cd4ed7b130d Mon Sep 17 00:00:00 2001 From: "Friedrich W. H. Kossebau" Date: Tue, 22 Oct 2019 19:19:25 +0200 Subject: API dox: adapt kapidox & ecm_add_qch settings to new deprecation macros GIT_SILENT --- docs/Doxyfile.local | 10 ++++++++++ src/CMakeLists.txt | 2 ++ 2 files changed, 12 insertions(+) create mode 100644 docs/Doxyfile.local diff --git a/docs/Doxyfile.local b/docs/Doxyfile.local new file mode 100644 index 00000000..6fff4f58 --- /dev/null +++ b/docs/Doxyfile.local @@ -0,0 +1,10 @@ +### KApiDox Project-specific Overrides File + +# define so that deprecated API is not skipped +PREDEFINED += \ + "KCONFIGCORE_ENABLE_DEPRECATED_SINCE(x, y)=1" \ + "KCONFIGCORE_BUILD_DEPRECATED_SINCE(x, y)=1" \ + "KCONFIGCORE_DEPRECATED_VERSION(x, y, t)=" \ + "KCONFIGGUI_ENABLE_DEPRECATED_SINCE(x, y)=1" \ + "KCONFIGGUI_BUILD_DEPRECATED_SINCE(x, y)=1" \ + "KCONFIGGUI_DEPRECATED_VERSION(x, y, t)=" diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 46674367..2c61a9c6 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -30,9 +30,11 @@ if (BUILD_QCH) KCONFIGCORE_EXPORT KCONFIGCORE_DEPRECATED_EXPORT KCONFIGCORE_DEPRECATED + "KCONFIGCORE_DEPRECATED_VERSION(x, y, t)" KCONFIGGUI_EXPORT KCONFIGGUI_DEPRECATED_EXPORT KCONFIGGUI_DEPRECATED + "KCONFIGGUI_DEPRECATED_VERSION(x, y, t)" TAGFILE_INSTALL_DESTINATION ${KDE_INSTALL_QTQCHDIR} QCH_INSTALL_DESTINATION ${KDE_INSTALL_QTQCHDIR} COMPONENT Devel -- cgit v1.2.1