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

« back to all changes in this revision

Viewing changes to src/system-settings.pro

  • 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
 
include(../common-project-config.pri)
2
 
include($${TOP_SRC_DIR}/common-vars.pri)
3
 
include($${TOP_SRC_DIR}/common-installs-config.pri)
4
 
 
5
 
TEMPLATE = app
6
 
TARGET = system-settings
7
 
 
8
 
I18N_DOMAIN = ubuntu-system-settings
9
 
 
10
 
CONFIG += \
11
 
    qt
12
 
 
13
 
QT += \
14
 
    core \
15
 
    gui \
16
 
    qml \
17
 
    quick
18
 
 
19
 
LIBS += -lSystemSettings
20
 
QMAKE_LIBDIR += $${TOP_BUILD_DIR}/lib/SystemSettings
21
 
INCLUDEPATH += $${TOP_SRC_DIR}/lib
22
 
 
23
 
HEADERS = \
24
 
    debug.h \
25
 
    i18n.h \
26
 
    item-model.h \
27
 
    plugin-manager.h \
28
 
    plugin.h \
29
 
    utils.h
30
 
 
31
 
SOURCES = \
32
 
    debug.cpp \
33
 
    i18n.cpp \
34
 
    item-model.cpp \
35
 
    main.cpp \
36
 
    plugin-manager.cpp \
37
 
    plugin.cpp \
38
 
    utils.cpp
39
 
 
40
 
QML_SOURCES = \
41
 
    qml/CategoryGrid.qml \
42
 
    qml/EntryComponent.qml \
43
 
    qml/MainWindow.qml \
44
 
    qml/UncategorizedItemsView.qml
45
 
 
46
 
RESOURCES += \
47
 
    ui.qrc
48
 
 
49
 
OTHER_FILES += \
50
 
    $${QML_SOURCES} \
51
 
    $${RESOURCES}
52
 
 
53
 
DEFINES += \
54
 
    DEBUG_ENABLED \
55
 
    I18N_DOMAIN=\\\"$${I18N_DOMAIN}\\\" \
56
 
    PLUGIN_MANIFEST_DIR=\\\"$${PLUGIN_MANIFEST_DIR}\\\" \
57
 
    PLUGIN_MODULE_DIR=\\\"$${PLUGIN_MODULE_DIR}\\\" \
58
 
    PLUGIN_PRIVATE_MODULE_DIR=\\\"$${PLUGIN_PRIVATE_MODULE_DIR}\\\" \
59
 
    PLUGIN_QML_DIR=\\\"$${PLUGIN_QML_DIR}\\\"
60
 
 
61
 
po.target = ../po/ubuntu-system-settings.pot
62
 
po.depends = $${SOURCES}
63
 
po.commands = xgettext -o $@ -d $${I18N_DOMAIN} --keyword=_ $^
64
 
 
65
 
QMAKE_EXTRA_TARGETS += \
66
 
    po