xref: /glogg/tests/tests.pro (revision 0b28d87ccdc328b5eda8d51937df0ef0f6c0307e) !
1bfd6443fSNicolas BonnefonTEMPLATE = app
2bfd6443fSNicolas BonnefonDEPENDPATH += ./ ../
3bfd6443fSNicolas BonnefonINCLUDEPATH += ./ ../
4bfd6443fSNicolas BonnefonDESTDIR = ./
5fb02acfaSNicolas BonnefonCONFIG += qtestlib debug
6bfd6443fSNicolas Bonnefon
7*0b28d87cSNicolas 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
16bfd6443fSNicolas BonnefonTARGET = logcrawler_tests
17f35c72b9SNicolas BonnefonHEADERS += testlogdata.h testlogfiltereddata.h logdata.h logfiltereddata.h logdataworkerthread.h\
18d0d26f4fSNicolas Bonnefon    abstractlogdata.h logfiltereddataworkerthread.h filewatcher.h
19f35c72b9SNicolas BonnefonSOURCES += testlogdata.cpp testlogfiltereddata.cpp abstractlogdata.cpp logdata.cpp main.cpp\
20d0d26f4fSNicolas Bonnefon    logfiltereddata.cpp logdataworkerthread.cpp logfiltereddataworkerthread.cpp filewatcher.cpp
2162819106SNicolas Bonnefon
2262819106SNicolas Bonnefoncoverage:QMAKE_CXXFLAGS += -g -fprofile-arcs -ftest-coverage -O0
2362819106SNicolas Bonnefoncoverage:QMAKE_LFLAGS += -fprofile-arcs -ftest-coverage
242851c541SNicolas Bonnefon
252851c541SNicolas Bonnefonprof:QMAKE_CXXFLAGS += -pg
262851c541SNicolas Bonnefonprof:QMAKE_LFLAGS   += -pg
27