on e1659ca help sign in
26 lines 622 B history raw
1include_directories(
2 ${CMAKE_CURRENT_SOURCE_DIR}
3 ${CMAKE_CURRENT_BINARY_DIR}
4 ${libunity8-private_SOURCE_DIR}
5)
7set(QMLDASHCOMMUNICATORPLUGIN_SRC
8 plugin.cpp
9 dbusdashcommunicatorservice.cpp
10 dashcommunicatorservice.cpp
11 dashcommunicator.cpp
12 dashconnection.cpp
15add_library(DashCommunicator-qml MODULE
16 ${QMLDASHCOMMUNICATORPLUGIN_SRC}
19qt5_use_modules(DashCommunicator-qml DBus Qml)
21target_link_libraries(DashCommunicator-qml
22 unity8-private
25# export the qmldir and qmltypes files
26add_unity8_plugin(Unity.DashCommunicator 0.1 Unity/DashCommunicator TARGETS DashCommunicator-qml)