1 |
TEMPLATE = app |
2 |
QT -= gui |
3 |
QT += network |
4 |
CONFIG += qtestlib |
5 |
CONFIG += console |
6 |
CONFIG -= app_bundle |
7 |
DEPENDPATH += . |
8 |
INCLUDEPATH += . |
9 |
!win32: LIBS += -lz |
10 |
win32 { |
11 |
# workaround for qdatetime.h macro bug |
12 |
DEFINES += NOMINMAX |
13 |
} |
14 |
|
15 |
CONFIG(staticlib): DEFINES += QUAZIP_STATIC |
16 |
|
17 |
# Input |
18 |
HEADERS += qztest.h \ |
19 |
testjlcompress.h \ |
20 |
testquachecksum32.h \ |
21 |
testquagzipfile.h \ |
22 |
testquaziodevice.h \ |
23 |
testquazipdir.h \ |
24 |
testquazipfile.h \ |
25 |
testquazip.h \ |
26 |
testquazipnewinfo.h \ |
27 |
testquazipfileinfo.h |
28 |
|
29 |
SOURCES += qztest.cpp \ |
30 |
testjlcompress.cpp \ |
31 |
testquachecksum32.cpp \ |
32 |
testquagzipfile.cpp \ |
33 |
testquaziodevice.cpp \ |
34 |
testquazip.cpp \ |
35 |
testquazipdir.cpp \ |
36 |
testquazipfile.cpp \ |
37 |
testquazipnewinfo.cpp \ |
38 |
testquazipfileinfo.cpp |
39 |
|
40 |
OBJECTS_DIR = .obj |
41 |
MOC_DIR = .moc |
42 |
|
43 |
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../quazip/release/ -lquazip |
44 |
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../quazip/debug/ -lquazipd |
45 |
else:mac:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../quazip/debug/ -lquazip_debug |
46 |
else:unix: LIBS += -L$$OUT_PWD/../quazip/ -lquazip |
47 |
|
48 |
INCLUDEPATH += $$PWD/.. |
49 |
DEPENDPATH += $$PWD/../quazip |