Changeset View
Changeset View
Standalone View
Standalone View
kcms/style/CMakeLists.txt
1 | # KI18N Translation Domain for this library | 1 | # KI18N Translation Domain for this library | ||
---|---|---|---|---|---|
2 | add_definitions(-DTRANSLATION_DOMAIN=\"kcm_style\") | 2 | add_definitions(-DTRANSLATION_DOMAIN=\"kcm_style\") | ||
3 | 3 | | |||
4 | ########### next target ############### | 4 | ########### next target ############### | ||
5 | 5 | | |||
6 | set(kcm_style_PART_SRCS ../krdb/krdb.cpp styleconfdialog.cpp kcmstyle.cpp stylesmodel.cpp previewitem.cpp) | 6 | set(kcm_style_PART_SRCS | ||
7 | ../krdb/krdb.cpp | ||||
8 | styleconfdialog.cpp | ||||
9 | kcmstyle.cpp | ||||
10 | stylesmodel.cpp | ||||
11 | gtkthemesmodel.cpp | ||||
12 | gtkpage.cpp | ||||
13 | previewitem.cpp | ||||
14 | ) | ||||
7 | set(klauncher_xml ${KINIT_DBUS_INTERFACES_DIR}/kf5_org.kde.KLauncher.xml) | 15 | set(klauncher_xml ${KINIT_DBUS_INTERFACES_DIR}/kf5_org.kde.KLauncher.xml) | ||
8 | qt5_add_dbus_interface(kcm_style_PART_SRCS ${klauncher_xml} klauncher_iface) | 16 | qt5_add_dbus_interface(kcm_style_PART_SRCS ${klauncher_xml} klauncher_iface) | ||
9 | 17 | | |||
10 | ki18n_wrap_ui(kcm_style_PART_SRCS stylepreview.ui) | 18 | ki18n_wrap_ui(kcm_style_PART_SRCS stylepreview.ui) | ||
11 | 19 | | |||
12 | kconfig_add_kcfg_files(kcm_style_PART_SRCS stylesettings.kcfgc GENERATE_MOC) | 20 | kconfig_add_kcfg_files(kcm_style_PART_SRCS stylesettings.kcfgc GENERATE_MOC) | ||
13 | 21 | | |||
14 | add_library(kcm_style MODULE ${kcm_style_PART_SRCS}) | 22 | add_library(kcm_style MODULE ${kcm_style_PART_SRCS}) | ||
15 | 23 | | |||
16 | target_link_libraries(kcm_style | 24 | target_link_libraries(kcm_style | ||
17 | Qt5::X11Extras | 25 | Qt5::X11Extras | ||
18 | Qt5::DBus | 26 | Qt5::DBus | ||
19 | KF5::KCMUtils | 27 | KF5::KCMUtils | ||
20 | KF5::Completion | 28 | KF5::Completion | ||
21 | KF5::I18n | 29 | KF5::I18n | ||
22 | KF5::Notifications | 30 | KF5::Notifications | ||
23 | KF5::Plasma | 31 | KF5::Plasma | ||
24 | ${X11_LIBRARIES} | 32 | ${X11_LIBRARIES} | ||
25 | KF5::KDELibs4Support | 33 | KF5::KDELibs4Support | ||
26 | KF5::GuiAddons | 34 | KF5::GuiAddons | ||
27 | KF5::QuickAddons | 35 | KF5::QuickAddons | ||
28 | KF5::WindowSystem | 36 | KF5::WindowSystem | ||
37 | KF5::Archive | ||||
38 | KF5::NewStuff | ||||
29 | ) | 39 | ) | ||
30 | 40 | | |||
31 | kcoreaddons_desktop_to_json(kcm_style "kcm_style.desktop") | 41 | kcoreaddons_desktop_to_json(kcm_style "kcm_style.desktop") | ||
32 | 42 | | |||
33 | install(FILES stylesettings.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR}) | 43 | install(FILES stylesettings.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR}) | ||
44 | install(FILES cgctheme.knsrc cgcgtk3.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR}) | ||||
34 | install(FILES kcm_style.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) | 45 | install(FILES kcm_style.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) | ||
35 | install(TARGETS kcm_style DESTINATION ${KDE_INSTALL_PLUGINDIR}/kcms) | 46 | install(TARGETS kcm_style DESTINATION ${KDE_INSTALL_PLUGINDIR}/kcms) | ||
36 | 47 | | |||
37 | kpackage_install_package(package kcm_style kcms) | 48 | kpackage_install_package(package kcm_style kcms) |