on bde717c help sign in
36 lines 1.1 kB history raw
1pkg_check_modules(GSETTINGS_QT REQUIRED gsettings-qt)
3add_definitions(-DSM_BUSNAME=systemBus)
5include_directories(
6 ${CMAKE_CURRENT_SOURCE_DIR}
7 ${CMAKE_SOURCE_DIR}/plugins/AccountsService
8 ${GSETTINGS_QT_INCLUDE_DIRS}
9 ${libunity8-private_SOURCE_DIR}
12set(QMLLAUNCHERPLUGINAS_SRC
13 plugin.cpp
14 launchermodelas.cpp
15 launcheritem.cpp
16 quicklistmodel.cpp
17 quicklistentry.cpp
18 ${CMAKE_SOURCE_DIR}/plugins/AccountsService/AccountsServiceDBusAdaptor.cpp
19 ${APPLICATION_API_INCLUDEDIR}/unity/shell/application/ApplicationManagerInterface.h
20 ${LAUNCHER_API_INCLUDEDIR}/unity/shell/launcher/LauncherItemInterface.h
21 ${LAUNCHER_API_INCLUDEDIR}/unity/shell/launcher/LauncherModelInterface.h
22 ${LAUNCHER_API_INCLUDEDIR}/unity/shell/launcher/QuickListModelInterface.h
23 )
25add_library(UnityLauncherAS-qml MODULE
26 ${QMLLAUNCHERPLUGINAS_SRC}
27 )
29target_link_libraries(UnityLauncherAS-qml
30 unity8-private
31 ${GSETTINGS_QT_LDFLAGS}
32 )
34qt5_use_modules(UnityLauncherAS-qml DBus Qml Gui)
36add_unity8_greeter_plugin(Unity.Launcher 0.1 Unity/Launcher TARGETS UnityLauncherAS-qml)