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 marks.h 19SOURCES += testlogdata.cpp testlogfiltereddata.cpp abstractlogdata.cpp logdata.cpp main.cpp\ 20 logfiltereddata.cpp logdataworkerthread.cpp logfiltereddataworkerthread.cpp filewatcher.cpp\ 21 marks.cpp 22 23coverage:QMAKE_CXXFLAGS += -g -fprofile-arcs -ftest-coverage -O0 24coverage:QMAKE_LFLAGS += -fprofile-arcs -ftest-coverage 25 26prof:QMAKE_CXXFLAGS += -pg 27prof:QMAKE_LFLAGS += -pg 28