~ubuntu-sdk-team/ubuntu-ui-toolkit/noDietForPopovers

« back to all changes in this revision

Viewing changes to src/Ubuntu/PerformanceMetrics/plugin/plugin.pri

  • Committer: Benjamin Zeller
  • Date: 2015-05-18 09:53:55 UTC
  • mto: (1504.7.12 staging)
  • mto: This revision was merged to the branch mainline in revision 1574.
  • Revision ID: benjamin.zeller@canonical.com-20150518095355-w742gzqk2xt2cmpv
- Work on using the qt macros to build the project

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
TEMPLATE = lib
2
 
TARGET = ../UbuntuPerformanceMetrics
3
 
QT += qml quick
4
 
CONFIG += qt plugin no_keywords
 
1
QT *= qml quick
 
2
CONFIG += no_keywords
5
3
 
6
4
QMAKE_CXXFLAGS += -Werror
7
5
 
8
 
TARGET = $$qtLibraryTarget($$TARGET)
9
 
uri = Ubuntu.PerformanceMetrics
10
 
 
11
6
# Input
12
7
SOURCES += \
13
 
    upmplugin.cpp \
14
 
    upmgraphmodel.cpp \
15
 
    upmtexturefromimage.cpp \
16
 
    upmrenderingtimes.cpp \
17
 
    upmcpuusage.cpp \
18
 
    rendertimer.cpp
 
8
    $$PWD/upmplugin.cpp \
 
9
    $$PWD/upmgraphmodel.cpp \
 
10
    $$PWD/upmtexturefromimage.cpp \
 
11
    $$PWD/upmrenderingtimes.cpp \
 
12
    $$PWD/upmcpuusage.cpp \
 
13
    $$PWD/rendertimer.cpp
19
14
 
20
15
HEADERS += \
21
 
    upmplugin.h \
22
 
    upmgraphmodel.h \
23
 
    upmtexturefromimage.h \
24
 
    upmrenderingtimes.h \
25
 
    upmcpuusage.h \
26
 
    rendertimer.h
 
16
    $$PWD/upmplugin.h \
 
17
    $$PWD/upmgraphmodel.h \
 
18
    $$PWD/upmtexturefromimage.h \
 
19
    $$PWD/upmrenderingtimes.h \
 
20
    $$PWD/upmcpuusage.h \
 
21
    $$PWD/rendertimer.h
27
22
 
28
23
contains(QT_CONFIG, opengles2) {
29
24
    CONFIG += egl
30
25
}
31
 
 
32
 
# deployment rules for the plugin
33
 
installPath = $$[QT_INSTALL_QML]/$$replace(uri, \\., /)
34
 
target.path = $$installPath
35
 
INSTALLS += target