~jonas-drange/ubuntu-system-settings/fix-systemimage3

« back to all changes in this revision

Viewing changes to plugins/launcher/CMakeLists.txt

  • Committer: Bileto Bot
  • Author(s): Jonas G. Drange
  • Date: 2016-11-29 11:11:21 UTC
  • mfrom: (1733.3.12 appearance-launcher)
  • Revision ID: ci-train-bot@canonical.com-20161129111121-oz2yn56nev9ff182
* Packaging change: depend on USC for testing
* Adds Launcher settings panel to System Settings
* Makes USS a gapplication as a requirement for the use of the qtdesktopwidget
* Adds gsetting qml mock

Approved by: Ken VanDine

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
add_subdirectory(plugin)
 
2
 
 
3
set(QML_SOURCES PageComponent.qml)
 
4
set(PANEL_SOURCES
 
5
    launcher.h
 
6
    launcher_impl.cpp
 
7
    plugin.cpp
 
8
    plugin.h
 
9
    ${QML_SOURCES}
 
10
)
 
11
 
 
12
add_library(UbuntuLauncherPanel MODULE ${PANEL_SOURCES} ${QML_SOURCES})
 
13
qt5_use_modules(UbuntuLauncherPanel Qml Widgets)
 
14
 
 
15
set(PLUG_DIR ${PLUGIN_PRIVATE_MODULE_DIR}/Ubuntu/SystemSettings/Launcher)
 
16
install(TARGETS UbuntuLauncherPanel DESTINATION ${PLUG_DIR})
 
17
install(FILES qmldir.in DESTINATION ${PLUG_DIR} RENAME qmldir)
 
18
 
 
19
install(FILES launcher.settings DESTINATION ${PLUGIN_MANIFEST_DIR})
 
20
install(FILES ${QML_SOURCES} DESTINATION ${PLUGIN_QML_DIR}/launcher)