on 5ab40fb help sign in
unity8/plugins/Unity/Launcher/CMakeLists.txt
28 lines 828 B history raw
1include(FindPkgConfig)
2pkg_check_modules(LAUNCHER_API REQUIRED unity-shell-launcher=2)
4include_directories(
5 ${CMAKE_CURRENT_SOURCE_DIR}
6)
8set(QMLLAUNCHERPLUGIN_SRC
9 plugin.cpp
10 launchermodel.cpp
11 launcheritem.cpp
12 quicklistmodel.cpp
13 common/quicklistentry.cpp
14 backend/launcherbackend.cpp
15 ${LAUNCHER_API_INCLUDEDIR}/unity/shell/launcher/LauncherItemInterface.h
16 ${LAUNCHER_API_INCLUDEDIR}/unity/shell/launcher/LauncherModelInterface.h
17 ${LAUNCHER_API_INCLUDEDIR}/unity/shell/launcher/QuickListModelInterface.h
18 )
20add_library(UnityLauncher-qml MODULE
21 ${QMLLAUNCHERPLUGIN_SRC}
22 )
24qt5_use_modules(UnityLauncher-qml Qml)
26# export the qmldir and qmltypes files
27export_qmlfiles(Unity.Launcher Unity/Launcher)
28export_qmlplugin(Unity.Launcher 0.1 Unity/Launcher TARGETS UnityLauncher-qml)