summaryrefslogtreecommitdiffstats
path: root/interpreter/interpreter.pro
blob: c91e4eeaf3daa5ae91493d0ea35dc30827853d97 (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
SOURCES +=\
        main.cpp                \
        qscriptsystemtest.cpp   \
        qtscript_bindings.cpp   \
        qtuitestengineagent.cpp \
        scriptpreprocessor.cpp

HEADERS +=\
        qscriptsystemtest.h   \
        scriptpreprocessor.h  \
        qtuitestengineagent.h \
        qtscript_bindings.h

RESOURCES += scripts.qrc
DEFINES += QTUITESTRUNNER_TARGET
TEMPLATE=app
VPATH+=$$PWD
INCLUDEPATH+=$$PWD
INCLUDEPATH+=$$SRCROOT/libqtuitest
INCLUDEPATH+=$$SRCROOT/libqsystemtest
QT+=script network
CONFIG+=qtestlib
TARGET=qtuitestrunner

!symbian {
    MOC_DIR=$$OUT_PWD/.moc
    OBJECTS_DIR=$$OUT_PWD/.obj
    DESTDIR=$$BUILDROOT/bin
    target.path=$$[QT_INSTALL_BINS]
    INSTALLS+=target
}

symbian {
    TARGET.EPOCALLOWDLLDATA=1
    TARGET.CAPABILITY += AllFiles ReadDeviceData ReadUserData SwEvent WriteUserData
    MOC_DIR=$$OUT_PWD/moc
    OBJECTS_DIR=$$OUT_PWD/obj
    LIBS += -L$$OUT_PWD -lqsystemtest -lqtuitest
}

win32 {
    CONFIG(debug,debug|release):  LIBS+=-L$$BUILDROOT/libqsystemtest/debug -lqsystemtestd -L$$BUILDROOT/libqtuitest -lqtuitestd
    CONFIG(release,debug|release):LIBS+=-L$$BUILDROOT/libqsystemtest/release -lqsystemtest -L$$BUILDROOT/libqtuitest -lqtuitest -L$$BUILDROOT/libqtslave/release -lqtslave
    target.path=$$[QT_INSTALL_BINS]
    INSTALLS+=target
    !equals(QMAKE_CXX, "g++") {
        DEFINES+=strcasecmp=_stricmp
    }
}

!win32:!symbian:!mac {
    LIBS += -L$$BUILDROOT/lib -lqsystemtest -lqtuitest
}

mac {
    CONFIG-=app_bundle
    CONFIG(debug,debug|release): LIBS += -L$$BUILDROOT/lib -lqsystemtest_debug -lqtuitest_debug
    CONFIG(release,debug|release): LIBS += -L$$BUILDROOT/lib -lqsystemtest -lqtuitest
}


target.path += \
    /usr/local/bin