on f7d59dd help sign in
unity8/plugins/Unity/Launcher/CMakeLists.txt
53 lines 1.6 kB history raw
1pkg_check_modules(LAUNCHER_API REQUIRED unity-shell-launcher=11)
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 ${libunity8-private_SOURCE_DIR}
12include_directories(
13 SYSTEM
14 ${GSETTINGS_QT_INCLUDE_DIRS}
15 ${GLIB_INCLUDE_DIRS}
16 ${UAL_INCLUDE_DIRS}
17 )
19set(QMLLAUNCHERPLUGIN_SRC
20 plugin.cpp
21 launchermodel.cpp
22 launcheritem.cpp
23 quicklistmodel.cpp
24 quicklistentry.cpp
25 dbusinterface.cpp
26 gsettings.cpp
27 asadapter.cpp
28 appdrawermodel.cpp
29 ualwrapper.cpp
30 ${CMAKE_SOURCE_DIR}/plugins/AccountsService/AccountsServiceDBusAdaptor.cpp
31 ${APPLICATION_API_INCLUDEDIR}/unity/shell/application/ApplicationManagerInterface.h
32 ${APPLICATION_API_INCLUDEDIR}/unity/shell/application/ApplicationInfoInterface.h
33 ${APPLICATION_API_INCLUDEDIR}/unity/shell/application/MirSurfaceListInterface.h
34 ${LAUNCHER_API_INCLUDEDIR}/unity/shell/launcher/LauncherItemInterface.h
35 ${LAUNCHER_API_INCLUDEDIR}/unity/shell/launcher/LauncherModelInterface.h
36 ${LAUNCHER_API_INCLUDEDIR}/unity/shell/launcher/QuickListModelInterface.h
37 ${LAUNCHER_API_INCLUDEDIR}/unity/shell/launcher/AppDrawerModelInterface.h
38 )
40add_library(UnityLauncher-qml MODULE
41 ${QMLLAUNCHERPLUGIN_SRC}
42 )
44target_link_libraries(UnityLauncher-qml
45 unity8-private
46 ${GSETTINGS_QT_LDFLAGS}
47 ${GLIB_LIBRARIES}
48 ${UAL_LIBRARIES}
49 )
51qt5_use_modules(UnityLauncher-qml DBus Qml Gui)
53add_unity8_plugin(Unity.Launcher 0.1 Unity/Launcher TARGETS UnityLauncher-qml)