-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathtest.pro
More file actions
40 lines (32 loc) · 1.03 KB
/
test.pro
File metadata and controls
40 lines (32 loc) · 1.03 KB
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
QT += core testlib
!win32-msvc2010 {
QMAKE_CXXFLAGS_DEBUG += -std=c++11
QMAKE_CXXFLAGS_RELEASE += -std=c++11
}
TARGET = tester
CONFIG += console
TEMPLATE = app
SOURCES += \
main.cpp \
testrunner.cpp \
qqrencodetestsuite.cpp
HEADERS += \
testrunner.h \
qqrencodetestsuite.h
win32:CONFIG(release, debug|release) {
# WINDOWS RELEASE
PRE_TARGETDEPS += $$OUT_PWD/../qqrencode/release/qtqrencode.dll
LIBS += -L$$OUT_PWD/../qqrencode/release/ -lqtqrencode
} else:win32:CONFIG(debug, debug|release) {
# WINDOWS DEBUG
PRE_TARGETDEPS += $$OUT_PWD/../qqrencode/debug/qtqrencode.dll
LIBS += -L$$OUT_PWD/../qqrencode/debug/ -lqtqrencode
} else:CONFIG(release, debug|release) {
PRE_TARGETDEPS += $$OUT_PWD/../qqrencode/libqtqrencode.so
LIBS += -L$$OUT_PWD/../qqrencode/ -lqtqrencode
} else:CONFIG(debug, debug|release) {
PRE_TARGETDEPS += $$OUT_PWD/../qqrencode/libqtqrencode.so
LIBS += -L$$OUT_PWD/../qqrencode/ -lqtqrencode
}
INCLUDEPATH += $$PWD/../qqrencode
DEPENDPATH += $$PWD/../qqrencode