2009-07-14 13:36:05 +02:00
|
|
|
TEMPLATE = app
|
|
|
|
TARGET = test
|
|
|
|
DEPENDPATH += .
|
|
|
|
INCLUDEPATH += ../src
|
|
|
|
OBJECTS_DIR = temp
|
|
|
|
CONFIG += warn_on debug
|
2009-09-04 09:05:06 +02:00
|
|
|
CONFIG -= qt app_bundle
|
2009-07-14 13:36:05 +02:00
|
|
|
DEFINES += UNIT_TESTING
|
|
|
|
|
2009-09-04 20:59:25 +02:00
|
|
|
include($$PWD/../src/src.pri)
|
|
|
|
HEADERS += testsuite.h
|
2009-07-14 13:36:05 +02:00
|
|
|
SOURCES += testautovariables.cpp \
|
|
|
|
testbufferoverrun.cpp \
|
|
|
|
testcharvar.cpp \
|
|
|
|
testclass.cpp \
|
|
|
|
testconstructors.cpp \
|
|
|
|
testcppcheck.cpp \
|
|
|
|
testdangerousfunctions.cpp \
|
|
|
|
testdivision.cpp \
|
|
|
|
testfilelister.cpp \
|
|
|
|
testincompletestatement.cpp \
|
|
|
|
testmathlib.cpp \
|
|
|
|
testmemleak.cpp \
|
|
|
|
testother.cpp \
|
|
|
|
testpreprocessor.cpp \
|
|
|
|
testredundantif.cpp \
|
|
|
|
testrunner.cpp \
|
|
|
|
testsimplifytokens.cpp \
|
|
|
|
teststl.cpp \
|
|
|
|
testsuite.cpp \
|
|
|
|
testtoken.cpp \
|
|
|
|
testtokenize.cpp \
|
|
|
|
testunusedfunctions.cpp \
|
|
|
|
testunusedprivfunc.cpp \
|
2009-09-04 20:59:25 +02:00
|
|
|
testunusedvar.cpp
|
2009-07-14 13:36:05 +02:00
|
|
|
|
|
|
|
win32 {
|
|
|
|
CONFIG += console
|
|
|
|
LIBS += -lshlwapi
|
|
|
|
}
|