Changeset View
Changeset View
Standalone View
Standalone View
dataengines/time/CMakeLists.txt
1 | add_definitions(-DTRANSLATION_DOMAIN=\"plasma_engine_time\") | 1 | add_definitions(-DTRANSLATION_DOMAIN=\"plasma_engine_time\") | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | set(time_engine_SRCS | 3 | set(time_engine_SRCS | ||
4 | timeengine.cpp | 4 | timeengine.cpp | ||
5 | timesource.cpp | 5 | timesource.cpp | ||
6 | solarsystem.cpp | 6 | solarsystem.cpp | ||
7 | ) | 7 | ) | ||
8 | 8 | | |||
9 | ecm_qt_declare_logging_category(time_engine_SRCS HEADER debug.h | ||||
10 | IDENTIFIER DATAENGINE_TIME | ||||
11 | CATEGORY_NAME kde.dataengine.time | ||||
12 | DEFAULT_SEVERITY Info) | ||||
13 | | ||||
9 | add_library(plasma_engine_time MODULE ${time_engine_SRCS}) | 14 | add_library(plasma_engine_time MODULE ${time_engine_SRCS}) | ||
10 | 15 | | |||
11 | target_link_libraries(plasma_engine_time | 16 | target_link_libraries(plasma_engine_time | ||
12 | Qt5::DBus | 17 | Qt5::DBus | ||
13 | KF5::Solid | 18 | KF5::Solid | ||
14 | KF5::Plasma | 19 | KF5::Plasma | ||
15 | KF5::I18n | 20 | KF5::I18n | ||
16 | KF5::Service | 21 | KF5::Service | ||
17 | ) | 22 | ) | ||
18 | 23 | | |||
19 | kcoreaddons_desktop_to_json(plasma_engine_time plasma-dataengine-time.desktop) | 24 | kcoreaddons_desktop_to_json(plasma_engine_time plasma-dataengine-time.desktop) | ||
20 | 25 | | |||
21 | install(TARGETS plasma_engine_time DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/dataengine) | 26 | install(TARGETS plasma_engine_time DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/dataengine) | ||
22 | install(FILES plasma-dataengine-time.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} ) | 27 | install(FILES plasma-dataengine-time.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} ) |