SVN_SILENT made messages (.desktop file)
[rsibreak.git] / plasma / CMakeLists.txt
blobbc8186da52444e254b7b05e9ca50fbcf70dfc3ff
1 project(plasma-rsibreak)
3 set(dbus_iface_xml ../src/org.rsibreak.rsiwidget.xml)
4 QT4_ADD_DBUS_INTERFACE(plasma_engine_rsibreak_SRCS ${dbus_iface_xml} rsibreak_interface )
6 set(rsibreak_engine_SRCS
7     engine.cpp ${plasma_engine_rsibreak_SRCS})
9 kde4_add_plugin(plasma_engine_rsibreak ${rsibreak_engine_SRCS})
10 target_link_libraries(plasma_engine_rsibreak ${PLASMA_LIBS} ${KDE4_KIO_LIBS})
12 install(TARGETS plasma_engine_rsibreak DESTINATION ${PLUGIN_INSTALL_DIR})
13 install(FILES plasma-engine-rsibreak.desktop DESTINATION ${SERVICES_INSTALL_DIR})
15 set(rsibreak_applet_SRCS
16     rsibreak.cpp)
18 kde4_add_plugin(plasma_applet_rsibreak ${rsibreak_applet_SRCS})
19 target_link_libraries(plasma_applet_rsibreak ${PLASMA_LIBS} ${KDE4_KIO_LIBS})
21 install(TARGETS plasma_applet_rsibreak DESTINATION ${PLUGIN_INSTALL_DIR})
22 install(FILES plasma-applet-rsibreak.desktop DESTINATION ${SERVICES_INSTALL_DIR})
23 install(FILES rsibreak.svg DESTINATION ${DATA_INSTALL_DIR}/desktoptheme/default/widgets/)