2015-01-15 17:07:43 +00:00
|
|
|
|
|
|
|
# Project needs a name of course
|
|
|
|
project(timer)
|
|
|
|
|
|
|
|
# We add our source code here
|
2015-09-02 02:13:50 +03:00
|
|
|
set(timer_SRCS
|
|
|
|
timer.cpp
|
|
|
|
timerdigit.cpp
|
|
|
|
customtimeeditor.cpp
|
|
|
|
timerConfig.ui
|
|
|
|
predefinedTimersConfig.ui
|
|
|
|
)
|
2015-01-15 17:07:43 +00:00
|
|
|
|
|
|
|
# Now make sure all files get to the right place
|
|
|
|
kde4_add_plugin(plasma_applet_timer ${timer_SRCS})
|
|
|
|
target_link_libraries(plasma_applet_timer
|
|
|
|
${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS})
|
|
|
|
|
|
|
|
install(TARGETS plasma_applet_timer
|
2020-02-08 18:39:41 +00:00
|
|
|
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
|
2015-01-15 17:07:43 +00:00
|
|
|
|
|
|
|
install(FILES plasma-applet-timer.desktop
|
2020-02-08 18:39:41 +00:00
|
|
|
DESTINATION ${KDE4_SERVICES_INSTALL_DIR})
|
2015-01-15 17:07:43 +00:00
|
|
|
|
|
|
|
install(FILES timer.svgz
|
2020-02-08 18:39:41 +00:00
|
|
|
DESTINATION ${KDE4_DATA_INSTALL_DIR}/desktoptheme/default/widgets/)
|