xref: /glogg/tests/tests.pro (revision 0b28d87ccdc328b5eda8d51937df0ef0f6c0307e)
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
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