xref: /glogg/tests/tests.pro (revision 6e2e573c451ec24d720c967fab68538eaa3f3ab5)
1TEMPLATE = app
2DEPENDPATH += ./ ../
3INCLUDEPATH += ./ ../
4DESTDIR = ./
5CONFIG += qtestlib debug
6
7QMAKE_CXXFLAGS += -O2 -fpermissive
8
9isEmpty(TMPDIR) {
10    DEFINES = TMPDIR=\\\"/tmp\\\"
11}
12else {
13    DEFINES = TMPDIR=\\\"$${TMPDIR}\\\"
14}
15
16mac {
17  CONFIG -= app_bundle
18}
19
20TARGET = logcrawler_tests
21HEADERS += testlogdata.h testlogfiltereddata.h\
22    ../src/data/logdata.h ../src/data/logfiltereddata.h ../src/data/logdataworkerthread.h\
23    ../src/data/abstractlogdata.h ../src/data/logfiltereddataworkerthread.h\
24    ../src/platformfilewatcher.h ../src/marks.h
25SOURCES += testlogdata.cpp testlogfiltereddata.cpp \
26    ../src/data/abstractlogdata.cpp ../src/data/logdata.cpp ../src/main.cpp\
27    ../src/data/logfiltereddata.cpp ../src/data/logdataworkerthread.cpp\
28    ../src/data/logfiltereddataworkerthread.cpp\
29    ../src/filewatcher.cpp ../src/marks.cpp
30
31coverage:QMAKE_CXXFLAGS += -g -fprofile-arcs -ftest-coverage -O0
32coverage:QMAKE_LFLAGS += -fprofile-arcs -ftest-coverage
33
34prof:QMAKE_CXXFLAGS += -pg
35prof:QMAKE_LFLAGS   += -pg
36