kdeconnect-kde/kcm/CMakeLists.txt

39 lines
795 B
CMake
Raw Normal View History

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
#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
${CMAKE_BINARY_DIR}/daemon/org.kde.kdeconnect.daemon.xml
daemoninterface
)
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
kde4_add_plugin(kcm_kdeconnect ${kcm_SRCS})
2013-06-19 15:15:25 +01:00
target_link_libraries(kcm_kdeconnect
2013-06-19 15:15:25 +01:00
${QT_QTCORE_LIBRARY}
${QT_QTGUI_LIBRARY}
${KDE4_KDEUI_LIBRARY}
${KDE4_KIO_LIBRARY}
)
add_dependencies(kcm_kdeconnect
org.kde.kdeconnect.daemon.xml
org.kde.kdeconnect.device.xml
)
install(TARGETS kcm_kdeconnect DESTINATION ${PLUGIN_INSTALL_DIR})
2013-06-19 15:15:25 +01:00
install(FILES kcm_kdeconnect.desktop DESTINATION ${SERVICES_INSTALL_DIR})