xref: /glogg/tests/tests.pro (revision 2851c54150cb8983834b5128fdb6f3afc95a1d5d)
1bfd6443fSNicolas BonnefonTEMPLATE = app
2bfd6443fSNicolas BonnefonDEPENDPATH += ./ ../
3bfd6443fSNicolas BonnefonINCLUDEPATH += ./ ../
4bfd6443fSNicolas BonnefonDESTDIR = ./
5fb02acfaSNicolas BonnefonCONFIG += qtestlib debug
6bfd6443fSNicolas Bonnefon
7*2851c541SNicolas BonnefonQMAKE_CXXFLAGS += -O2
8*2851c541SNicolas 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
24*2851c541SNicolas Bonnefon
25*2851c541SNicolas Bonnefonprof:QMAKE_CXXFLAGS += -pg
26*2851c541SNicolas Bonnefonprof:QMAKE_LFLAGS   += -pg
27