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