~allanlesage/ubuntu-system-settings/add-background-plugin-objectNames

« back to all changes in this revision

Viewing changes to plugins/reset/CMakeLists.txt

  • Committer: Tarmac
  • Author(s): Jussi Pakkanen
  • Date: 2013-10-24 14:53:27 UTC
  • mfrom: (317.4.62 ubuntu-system-settings)
  • Revision ID: tarmac-20131024145327-1i7fj7mviod9cdyt
Switch to CMake.

Approved by Sebastien Bacher, Iain Lane, PS Jenkins bot, Alberto Mardegan.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
set(QML_SOURCES EntryComponent.qml
 
2
    EraseEverything.qml
 
3
    PageComponent.qml
 
4
    ResetAllSettings.qml
 
5
    ResetLauncherHome.qml
 
6
)
 
7
 
 
8
add_library(UbuntuResetPanel MODULE
 
9
  plugin.cpp
 
10
  reset.cpp
 
11
  plugin.h
 
12
  reset.h
 
13
  ${QML_SOURCES}
 
14
)
 
15
qt5_use_modules(UbuntuResetPanel Qml Quick DBus)
 
16
 
 
17
set(PLUG_DIR ${PLUGIN_PRIVATE_MODULE_DIR}/Ubuntu/SystemSettings/Reset)
 
18
install(TARGETS UbuntuResetPanel DESTINATION ${PLUG_DIR})
 
19
install(FILES qmldir DESTINATION ${PLUG_DIR})
 
20
install(FILES reset.settings DESTINATION ${PLUGIN_MANIFEST_DIR})
 
21
install(FILES settings-reset.svg DESTINATION ${PLUGIN_MANIFEST_DIR}/icons)
 
22
install(FILES ${QML_SOURCES} DESTINATION ${PLUGIN_QML_DIR}/reset)