Changeset View
Changeset View
Standalone View
Standalone View
kcmodule/profiles/CMakeLists.txt
1 | add_definitions(-DTRANSLATION_DOMAIN=\"powerdevilprofilesconfig\") | 1 | add_definitions(-DTRANSLATION_DOMAIN=\"powerdevilprofilesconfig\") | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | set( kcm_powerdevil_profiles_SRCS | 3 | set( kcm_powerdevil_profiles_SRCS | ||
4 | ${PowerDevil_SOURCE_DIR}/daemon/powerdevil_debug.cpp | 4 | ${PowerDevil_SOURCE_DIR}/daemon/powerdevil_debug.cpp | ||
5 | EditPage.cpp | 5 | EditPage.cpp | ||
6 | ${PowerDevil_SOURCE_DIR}/daemon/powerdevilprofilegenerator.cpp | 6 | ${PowerDevil_SOURCE_DIR}/daemon/powerdevilprofilegenerator.cpp | ||
7 | ) | 7 | ) | ||
8 | 8 | | |||
9 | ki18n_wrap_ui(kcm_powerdevil_profiles_SRCS | 9 | ki18n_wrap_ui(kcm_powerdevil_profiles_SRCS | ||
10 | profileEditPage.ui) | 10 | profileEditPage.ui) | ||
11 | 11 | | |||
12 | kconfig_add_kcfg_files(kcm_powerdevil_profiles_SRCS ../../PowerDevilSettings.kcfgc) | 12 | kconfig_add_kcfg_files(kcm_powerdevil_profiles_SRCS ../../PowerDevilSettings.kcfgc) | ||
13 | 13 | | |||
14 | add_library(kcm_powerdevilprofilesconfig MODULE ${kcm_powerdevil_profiles_SRCS}) | 14 | add_library(kcm_powerdevilprofilesconfig MODULE ${kcm_powerdevil_profiles_SRCS}) | ||
15 | 15 | | |||
16 | target_link_libraries(kcm_powerdevilprofilesconfig | 16 | target_link_libraries(kcm_powerdevilprofilesconfig | ||
17 | KF5::KIOWidgets | | |||
18 | KF5::ConfigGui | 17 | KF5::ConfigGui | ||
19 | KF5::ConfigWidgets | 18 | KF5::ConfigWidgets | ||
20 | powerdevilui | 19 | powerdevilui | ||
21 | powerdevilconfigcommonprivate | 20 | powerdevilconfigcommonprivate | ||
22 | ) | 21 | ) | ||
23 | 22 | | |||
24 | install(TARGETS kcm_powerdevilprofilesconfig DESTINATION ${KDE_INSTALL_PLUGINDIR} ) | 23 | install(TARGETS kcm_powerdevilprofilesconfig DESTINATION ${KDE_INSTALL_PLUGINDIR} ) | ||
25 | install( FILES powerdevilprofilesconfig.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} ) | 24 | install( FILES powerdevilprofilesconfig.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} ) |