summaryrefslogtreecommitdiffstats
path: root/src/testlib/testlib.pro
blob: 311c79379b2bf95a8b3c01e304e856857c8c6f63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
TARGET = QtTest
QPRO_PWD = $$PWD
QT = core

CONFIG += module
MODULE_PRI = ../modules/qt_testlib.pri

INCLUDEPATH += .
unix:!embedded:QMAKE_PKGCONFIG_DESCRIPTION = Qt \
    Unit \
    Testing \
    Library

# Input
HEADERS = qbenchmark.h \
    qsignalspy.h \
    qtestaccessible.h \
    qtestassert.h \
    qtestbasicstreamer.h \
    qtestcase.h \
    qtestcoreelement.h \
    qtestcorelist.h \
    qtestdata.h \
    qtestelementattribute.h \
    qtestelement.h \
    qtestevent.h \
    qtesteventloop.h \
    qtestfilelogger.h \
    qtest_global.h \
    qtest_gui.h \
    qtest.h \
    qtestkeyboard.h \
    qtestlightxmlstreamer.h \
    qtestmouse.h \
    qtestspontaneevent.h \
    qtestsystem.h \
    qtesttouch.h \
    qtestxmlstreamer.h \
    qtestxunitstreamer.h
SOURCES = qtestcase.cpp \
    qtestlog.cpp \
    qtesttable.cpp \
    qtestdata.cpp \
    qtestresult.cpp \
    qasciikey.cpp \
    qplaintestlogger.cpp \
    qxmltestlogger.cpp \
    qsignaldumper.cpp \
    qabstracttestlogger.cpp \
    qbenchmark.cpp \
    qbenchmarkmeasurement.cpp \
    qbenchmarkvalgrind.cpp \
    qbenchmarkevent.cpp \
    qbenchmarkmetric.cpp \
    qtestelement.cpp \
    qtestelementattribute.cpp \
    qtestbasicstreamer.cpp \
    qtestxunitstreamer.cpp \
    qtestxmlstreamer.cpp \
    qtestlightxmlstreamer.cpp \
    qtestlogger.cpp \
    qtestfilelogger.cpp
DEFINES *= QT_NO_CAST_TO_ASCII \
    QT_NO_CAST_FROM_ASCII \
    QTESTLIB_MAKEDLL \
    QT_NO_DATASTREAM
embedded:QMAKE_CXXFLAGS += -fno-rtti
wince*::LIBS += libcmt.lib \
    corelibc.lib \
    ole32.lib \
    oleaut32.lib \
    uuid.lib \
    commctrl.lib \
    coredll.lib \
    winsock.lib
mac:LIBS += -framework IOKit \
    -framework Security
!qpa:mac: LIBS += -framework ApplicationServices
qpa:mac: {
    contains(QT_CONFIG, coreservices) {
      LIBS_PRIVATE += -framework CoreServices
    } else {
      LIBS_PRIVATE += -framework CoreFoundation
    }
}

include(../qbase.pri)
QMAKE_TARGET_PRODUCT = QTestLib
QMAKE_TARGET_DESCRIPTION = Qt \
    Unit \
    Testing \
    Library
symbian:TARGET.UID3=0x2001B2DF