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