xref: /glogg/tests/tests.pro (revision bb02e0acf44ddb4e4f83d6127a1e488789162922)
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 logdata.h logfiltereddata.h logdataworkerthread.h\
22    abstractlogdata.h logfiltereddataworkerthread.h filewatcher.h marks.h
23SOURCES += testlogdata.cpp testlogfiltereddata.cpp abstractlogdata.cpp logdata.cpp main.cpp\
24    logfiltereddata.cpp logdataworkerthread.cpp logfiltereddataworkerthread.cpp filewatcher.cpp\
25    marks.cpp
26
27coverage:QMAKE_CXXFLAGS += -g -fprofile-arcs -ftest-coverage -O0
28coverage:QMAKE_LFLAGS += -fprofile-arcs -ftest-coverage
29
30prof:QMAKE_CXXFLAGS += -pg
31prof:QMAKE_LFLAGS   += -pg
32