cppcheck/test/test.pro

55 lines
1.3 KiB
Prolog
Raw Normal View History

TEMPLATE = app
TARGET = test
DEPENDPATH += .
2009-10-26 22:20:25 +01:00
INCLUDEPATH += ../lib
OBJECTS_DIR = temp
CONFIG += warn_on debug
2009-09-04 09:05:06 +02:00
CONFIG -= qt app_bundle
DEFINES += UNIT_TESTING
2009-10-26 22:20:25 +01:00
include($$PWD/../lib/lib.pri)
HEADERS += testsuite.h
SOURCES += testautovariables.cpp \
testbufferoverrun.cpp \
testcharvar.cpp \
testclass.cpp \
2010-09-18 08:09:30 +02:00
testcmdlineparser.cpp \
testconstructors.cpp \
testcppcheck.cpp \
testdivision.cpp \
2009-10-26 22:20:25 +01:00
testexceptionsafety.cpp \
testfilelister.cpp \
testincompletestatement.cpp \
testmathlib.cpp \
testmemleak.cpp \
2010-09-18 08:09:30 +02:00
testobsoletefunctions.cpp \
testother.cpp \
testpreprocessor.cpp \
testrunner.cpp \
2010-09-18 08:09:30 +02:00
testsettings.cpp \
testsimplifytokens.cpp \
teststl.cpp \
testsuite.cpp \
2010-09-18 08:09:30 +02:00
testthreadexecutor.cpp \
testtoken.cpp \
testtokenize.cpp \
testunusedfunctions.cpp \
testunusedprivfunc.cpp \
testunusedvar.cpp
win32 {
CONFIG += console
LIBS += -lshlwapi
}
2009-11-28 18:29:32 +01:00
contains(QMAKE_CXX, g++) {
QMAKE_CXXFLAGS_WARN_ON += -Wextra -pedantic
CONFIG(debug, debug|release) {
# checked STL
DEFINES += _GLIBCXX_DEBUG
}
}