Changeset View
Changeset View
Standalone View
Standalone View
kcms/baloo/CMakeLists.txt
1 | add_definitions(-DTRANSLATION_DOMAIN=\"kcm5_baloofile\") | 1 | add_definitions(-DTRANSLATION_DOMAIN=\"kcm5_baloofile\") | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | set(kcm_file_SRCS | 3 | set(kcm_file_SRCS | ||
4 | kcm.cpp | 4 | kcm.cpp | ||
5 | fileexcludefilters.cpp | 5 | fileexcludefilters.cpp | ||
6 | folderselectionwidget.cpp | 6 | filteredfoldermodel.cpp | ||
7 | ) | | |||
8 | | ||||
9 | ki18n_wrap_ui(kcm_file_SRCS | | |||
10 | configwidget.ui | | |||
11 | ) | 7 | ) | ||
12 | 8 | | |||
13 | add_library(kcm_baloofile MODULE ${kcm_file_SRCS}) | 9 | add_library(kcm_baloofile MODULE ${kcm_file_SRCS}) | ||
14 | 10 | | |||
15 | target_link_libraries(kcm_baloofile | 11 | target_link_libraries(kcm_baloofile | ||
16 | KF5::KIOWidgets | | |||
17 | KF5::CoreAddons | 12 | KF5::CoreAddons | ||
18 | KF5::KCMUtils | 13 | KF5::KCMUtils | ||
19 | KF5::I18n | 14 | KF5::I18n | ||
20 | KF5::Solid | 15 | KF5::Solid | ||
21 | KF5::Baloo | 16 | KF5::Baloo | ||
22 | 17 | KF5::QuickAddons | |||
23 | Qt5::DBus | 18 | Qt5::DBus | ||
24 | Qt5::Widgets | 19 | Qt5::Widgets | ||
25 | ) | 20 | ) | ||
26 | 21 | | |||
22 | kcoreaddons_desktop_to_json(kcm_baloofile "kcm_baloofile.desktop") | ||||
27 | 23 | | |||
28 | install(FILES kcm_baloofile.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) | 24 | install(FILES kcm_baloofile.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) | ||
29 | install(TARGETS kcm_baloofile DESTINATION ${KDE_INSTALL_PLUGINDIR}) | 25 | install(TARGETS kcm_baloofile DESTINATION ${KDE_INSTALL_PLUGINDIR}/kcms) | ||
26 | | ||||
27 | kpackage_install_package(package kcm_baloofile kcms) |