2013-06-19 15:15:25 +01:00
|
|
|
|
2013-06-27 01:13:16 +01:00
|
|
|
set(kcm_SRCS devicesmodel.cpp
|
2013-06-19 15:15:25 +01:00
|
|
|
kcm.cpp
|
2013-07-03 02:52:44 +01:00
|
|
|
#wizard.cpp
|
|
|
|
dbusinterfaces.cpp
|
2013-06-19 15:15:25 +01:00
|
|
|
)
|
|
|
|
|
2013-06-25 17:08:34 +01:00
|
|
|
qt4_add_dbus_interface(
|
|
|
|
kcm_SRCS
|
2013-07-28 21:00:45 +01:00
|
|
|
${CMAKE_BINARY_DIR}/daemon/org.kde.kdeconnect.daemon.xml
|
2013-07-03 02:52:44 +01:00
|
|
|
daemoninterface
|
|
|
|
)
|
2013-07-25 16:04:58 +01:00
|
|
|
|
2013-07-03 02:52:44 +01:00
|
|
|
qt4_add_dbus_interface(
|
|
|
|
kcm_SRCS
|
|
|
|
${CMAKE_BINARY_DIR}/daemon/org.kde.kdeconnect.device.xml
|
|
|
|
deviceinterface
|
2013-06-25 17:08:34 +01:00
|
|
|
)
|
2013-06-19 15:15:25 +01:00
|
|
|
|
2013-06-25 17:43:54 +01:00
|
|
|
kde4_add_ui_files(kcm_SRCS kcm.ui wizard.ui)
|
2013-06-19 15:15:25 +01:00
|
|
|
|
2013-07-03 02:52:44 +01:00
|
|
|
kde4_add_plugin(kcm_kdeconnect ${kcm_SRCS})
|
2013-06-19 15:15:25 +01:00
|
|
|
|
2013-07-03 02:52:44 +01:00
|
|
|
target_link_libraries(kcm_kdeconnect
|
2013-06-19 15:15:25 +01:00
|
|
|
${QT_QTCORE_LIBRARY}
|
|
|
|
${QT_QTGUI_LIBRARY}
|
|
|
|
${KDE4_KDEUI_LIBRARY}
|
2013-08-13 04:07:32 +01:00
|
|
|
${KDE4_KCMUTILS_LIBS}
|
2013-06-19 15:15:25 +01:00
|
|
|
)
|
|
|
|
|
2013-07-25 16:04:58 +01:00
|
|
|
add_dependencies(kcm_kdeconnect
|
2013-07-28 21:00:45 +01:00
|
|
|
org.kde.kdeconnect.daemon.xml
|
2013-07-25 16:04:58 +01:00
|
|
|
org.kde.kdeconnect.device.xml
|
|
|
|
)
|
|
|
|
|
2013-07-03 02:52:44 +01:00
|
|
|
install(TARGETS kcm_kdeconnect DESTINATION ${PLUGIN_INSTALL_DIR})
|
2013-06-19 15:15:25 +01:00
|
|
|
|
2013-07-03 02:52:44 +01:00
|
|
|
install(FILES kcm_kdeconnect.desktop DESTINATION ${SERVICES_INSTALL_DIR})
|