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