Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show All 17 Lines | |||||
18 | include(FeatureSummary) | 18 | include(FeatureSummary) | ||
19 | include(CheckIncludeFiles) | 19 | include(CheckIncludeFiles) | ||
20 | include(ECMQtDeclareLoggingCategory) | 20 | include(ECMQtDeclareLoggingCategory) | ||
21 | 21 | | |||
22 | find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS | 22 | find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS | ||
23 | DBus | 23 | DBus | ||
24 | Widgets | 24 | Widgets | ||
25 | Xml | 25 | Xml | ||
26 | WebEngineWidgets | ||||
26 | ) | 27 | ) | ||
27 | 28 | | |||
28 | find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS | 29 | find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS | ||
29 | Archive | 30 | Archive | ||
30 | Bookmarks | 31 | Bookmarks | ||
32 | Completion | ||||
31 | Config | 33 | Config | ||
32 | CoreAddons | 34 | CoreAddons | ||
33 | DBusAddons | 35 | DBusAddons | ||
34 | DocTools | 36 | DocTools | ||
35 | I18n | 37 | I18n | ||
36 | Init | 38 | Init | ||
37 | KHtml | 39 | KIO | ||
38 | Service | 40 | Service | ||
39 | WindowSystem | 41 | WindowSystem | ||
40 | ) | 42 | ) | ||
41 | 43 | | |||
42 | find_package(Grantlee5 REQUIRED) | 44 | find_package(Grantlee5 REQUIRED) | ||
43 | set_package_properties(Grantlee5 PROPERTIES | 45 | set_package_properties(Grantlee5 PROPERTIES | ||
44 | DESCRIPTION "Support for HTML templates" | 46 | DESCRIPTION "Support for HTML templates" | ||
45 | URL "http://grantlee.org/" | 47 | URL "http://grantlee.org/" | ||
▲ Show 20 Lines • Show All 44 Lines • ▼ Show 20 Line(s) | 81 | set(khelpcenter_KDEINIT_SRCS | |||
90 | glossary.cpp | 92 | glossary.cpp | ||
91 | toc.cpp | 93 | toc.cpp | ||
92 | mainwindow.cpp | 94 | mainwindow.cpp | ||
93 | docentry.cpp | 95 | docentry.cpp | ||
94 | history.cpp | 96 | history.cpp | ||
95 | application.cpp | 97 | application.cpp | ||
96 | treebuilder.cpp | 98 | treebuilder.cpp | ||
97 | infotree.cpp | 99 | infotree.cpp | ||
98 | fontdialog.cpp | | |||
99 | plugintraverser.cpp | 100 | plugintraverser.cpp | ||
100 | scrollkeepertreebuilder.cpp | 101 | scrollkeepertreebuilder.cpp | ||
101 | bookmarkowner.cpp | 102 | bookmarkowner.cpp | ||
102 | searchhandler.cpp ) | 103 | searchhandler.cpp ) | ||
103 | ecm_qt_declare_logging_category(khelpcenter_KDEINIT_SRCS HEADER khc_debug.h IDENTIFIER KHC_LOG CATEGORY_NAME org.kde.khelpcenter) | 104 | ecm_qt_declare_logging_category(khelpcenter_KDEINIT_SRCS HEADER khc_debug.h IDENTIFIER KHC_LOG CATEGORY_NAME org.kde.khelpcenter) | ||
104 | 105 | | |||
105 | kconfig_add_kcfg_files(khelpcenter_KDEINIT_SRCS prefs.kcfgc ) | 106 | kconfig_add_kcfg_files(khelpcenter_KDEINIT_SRCS prefs.kcfgc ) | ||
106 | # kf5_add_app_icon(khelpcenter_KDEINIT_SRCS "${KDE4_INSTALL_DIR}/share/icons/oxygen/*/apps/help-browser.png") | 107 | # kf5_add_app_icon(khelpcenter_KDEINIT_SRCS "${KDE4_INSTALL_DIR}/share/icons/oxygen/*/apps/help-browser.png") | ||
107 | 108 | | |||
108 | kf5_add_kdeinit_executable( khelpcenter ${khelpcenter_KDEINIT_SRCS}) | 109 | kf5_add_kdeinit_executable( khelpcenter ${khelpcenter_KDEINIT_SRCS}) | ||
109 | target_compile_definitions(kdeinit_khelpcenter PRIVATE -DPROJECT_VERSION="${PROJECT_VERSION}") | 110 | target_compile_definitions(kdeinit_khelpcenter PRIVATE -DPROJECT_VERSION="${PROJECT_VERSION}") | ||
110 | target_link_libraries(kdeinit_khelpcenter KF5::KHtml KF5::Service KF5::DBusAddons KF5::ConfigGui KF5::WindowSystem KF5::Bookmarks Qt5::Xml Grantlee5::Templates) | 111 | target_link_libraries(kdeinit_khelpcenter KF5::I18n KF5::XmlGui KF5::KIOCore KF5::KIOWidgets KF5::Completion Qt5::WebEngineWidgets KF5::Service KF5::DBusAddons KF5::ConfigGui KF5::WindowSystem KF5::Bookmarks Qt5::Xml Grantlee5::Templates) | ||
111 | target_link_libraries(kdeinit_khelpcenter KF5::DocTools) | 112 | target_link_libraries(kdeinit_khelpcenter KF5::DocTools) | ||
112 | install(TARGETS kdeinit_khelpcenter ${INSTALL_TARGETS_DEFAULT_ARGS} ) | 113 | install(TARGETS kdeinit_khelpcenter ${INSTALL_TARGETS_DEFAULT_ARGS} ) | ||
113 | install(TARGETS khelpcenter ${INSTALL_TARGETS_DEFAULT_ARGS}) | 114 | install(TARGETS khelpcenter ${INSTALL_TARGETS_DEFAULT_ARGS}) | ||
114 | 115 | | |||
115 | ########### install files ############### | 116 | ########### install files ############### | ||
116 | 117 | | |||
117 | install( PROGRAMS org.kde.Help.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) | 118 | install( PROGRAMS org.kde.Help.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) | ||
118 | install( FILES khelpcenter.kcfg DESTINATION ${KCFG_INSTALL_DIR} ) | 119 | install( FILES khelpcenter.kcfg DESTINATION ${KCFG_INSTALL_DIR} ) | ||
Show All 12 Lines |