xref: /glogg/tests/tests.pro (revision 1ee847ca425151b00d956eaea3ee654b7e55afc9)
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
16a1e4ce92SNicolas Bonnefonmac {
17a1e4ce92SNicolas Bonnefon  CONFIG -= app_bundle
18a1e4ce92SNicolas Bonnefon}
19a1e4ce92SNicolas Bonnefon
20bfd6443fSNicolas BonnefonTARGET = logcrawler_tests
21*1ee847caSNicolas BonnefonHEADERS += testlogdata.h testlogfiltereddata.h\
22*1ee847caSNicolas Bonnefon    ../src/data/logdata.h ../src/data/logfiltereddata.h ../src/data/logdataworkerthread.h\
23*1ee847caSNicolas Bonnefon    ../src/data/abstractlogdata.h ../src/data/logfiltereddataworkerthread.h\
24*1ee847caSNicolas Bonnefon    ../src/platformfilewatcher.h ../src/marks.h
25*1ee847caSNicolas BonnefonSOURCES += testlogdata.cpp testlogfiltereddata.cpp \
26*1ee847caSNicolas Bonnefon    ../src/data/abstractlogdata.cpp ../src/data/logdata.cpp ../src/main.cpp\
27*1ee847caSNicolas Bonnefon    ../src/data/logfiltereddata.cpp ../src/data/logdataworkerthread.cpp\
28*1ee847caSNicolas Bonnefon    ../src/data/logfiltereddataworkerthread.cpp\
29*1ee847caSNicolas Bonnefon    ../src/filewatcher.cpp ../src/marks.cpp
3062819106SNicolas Bonnefon
3162819106SNicolas Bonnefoncoverage:QMAKE_CXXFLAGS += -g -fprofile-arcs -ftest-coverage -O0
3262819106SNicolas Bonnefoncoverage:QMAKE_LFLAGS += -fprofile-arcs -ftest-coverage
332851c541SNicolas Bonnefon
342851c541SNicolas Bonnefonprof:QMAKE_CXXFLAGS += -pg
352851c541SNicolas Bonnefonprof:QMAKE_LFLAGS   += -pg
36