blob: 4f61c0013376b64516d3f95b19cc6bf7f20fdd1c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
add_subdirectory(core)
if(TARGET Qt5::Gui)
add_subdirectory(gui)
endif()
add_subdirectory(kconfig_compiler)
add_subdirectory(kconf_update)
add_subdirectory(kreadconfig)
ecm_qt_install_logging_categories(
EXPORT KCONFIG
FILE kconfig.categories
DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR}
)
if (BUILD_QCH)
ecm_add_qch(
KF5Config_QCH
NAME KConfig
BASE_NAME KF5Config
VERSION ${KF5_VERSION}
ORG_DOMAIN org.kde
SOURCES # using only public headers, to cover only public API
${KConfigCore_APIDOX_SRCS}
${KConfigGui_APIDOX_SRCS}
"${CMAKE_CURRENT_SOURCE_DIR}/kconfig_compiler/README.dox"
"${CMAKE_SOURCE_DIR}/docs/options.md"
MD_MAINPAGE "${CMAKE_SOURCE_DIR}/README.md"
LINK_QCHS
Qt5Core_QCH
Qt5Xml_QCH
Qt5Gui_QCH
INCLUDE_DIRS
${KConfigCore_APIDOX_INCLUDE_DIRS}
${KConfigGui_APIDOX_INCLUDE_DIRS}
BLANK_MACROS
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
)
endif()
|