aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedrich W. H. Kossebau <kossebau@kde.org>2019-10-22 19:19:25 +0200
committerFriedrich W. H. Kossebau <kossebau@kde.org>2019-10-22 19:19:25 +0200
commit09d65adaf3605da0acda9e491c151cd4ed7b130d (patch)
tree73f012a84eb428b3ef16f7e26dc30dfa39806e39
parentc4c673338cf570c166e1bb02a2fa9e9dc6c55bb5 (diff)
downloadkconfig-09d65adaf3605da0acda9e491c151cd4ed7b130d.tar.gz
kconfig-09d65adaf3605da0acda9e491c151cd4ed7b130d.tar.bz2
API dox: adapt kapidox & ecm_add_qch settings to new deprecation macros
GIT_SILENT
-rw-r--r--docs/Doxyfile.local10
-rw-r--r--src/CMakeLists.txt2
2 files changed, 12 insertions, 0 deletions
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