xref: /glogg/tests/tests.pro (revision a1e4ce9253f8e2e2c659de30403a11daa905f8fa)
1bfd6443fSNicolas BonnefonTEMPLATE = app
2bfd6443fSNicolas BonnefonDEPENDPATH += ./ ../
3bfd6443fSNicolas BonnefonINCLUDEPATH += ./ ../
4bfd6443fSNicolas BonnefonDESTDIR = ./
5fb02acfaSNicolas BonnefonCONFIG += qtestlib debug
6bfd6443fSNicolas Bonnefon
70b28d87cSNicolas BonnefonQMAKE_CXXFLAGS += -O2 -fpermissive
82851c541SNicolas Bonnefon
936c1f171SNicolas BonnefonisEmpty(TMPDIR) {
1036c1f171SNicolas Bonnefon    DEFINES = TMPDIR=\\\"/tmp\\\"
1136c1f171SNicolas Bonnefon}
1236c1f171SNicolas Bonnefonelse {
1362819106SNicolas Bonnefon    DEFINES = TMPDIR=\\\"$${TMPDIR}\\\"
1436c1f171SNicolas Bonnefon}
1562819106SNicolas Bonnefon
16*a1e4ce92SNicolas Bonnefonmac {
17*a1e4ce92SNicolas Bonnefon  CONFIG -= app_bundle
18*a1e4ce92SNicolas Bonnefon}
19*a1e4ce92SNicolas Bonnefon
20bfd6443fSNicolas BonnefonTARGET = logcrawler_tests
21f35c72b9SNicolas BonnefonHEADERS += testlogdata.h testlogfiltereddata.h logdata.h logfiltereddata.h logdataworkerthread.h\
2264c49544SNicolas Bonnefon    abstractlogdata.h logfiltereddataworkerthread.h filewatcher.h marks.h
23f35c72b9SNicolas BonnefonSOURCES += testlogdata.cpp testlogfiltereddata.cpp abstractlogdata.cpp logdata.cpp main.cpp\
2464c49544SNicolas Bonnefon    logfiltereddata.cpp logdataworkerthread.cpp logfiltereddataworkerthread.cpp filewatcher.cpp\
2564c49544SNicolas Bonnefon    marks.cpp
2662819106SNicolas Bonnefon
2762819106SNicolas Bonnefoncoverage:QMAKE_CXXFLAGS += -g -fprofile-arcs -ftest-coverage -O0
2862819106SNicolas Bonnefoncoverage:QMAKE_LFLAGS += -fprofile-arcs -ftest-coverage
292851c541SNicolas Bonnefon
302851c541SNicolas Bonnefonprof:QMAKE_CXXFLAGS += -pg
312851c541SNicolas Bonnefonprof:QMAKE_LFLAGS   += -pg
32