Add QMake project files for core and tests.
Ticket #472 (QMake project file to build cppcheck core).
This commit is contained in:
parent
456c20b705
commit
40ccd4d1ac
|
@ -0,0 +1,61 @@
|
|||
######################################################################
|
||||
# Automatically generated by qmake (2.01a) Mon Jul 13 10:40:01 2009
|
||||
######################################################################
|
||||
|
||||
TEMPLATE = app
|
||||
TARGET = cppcheck
|
||||
DEPENDPATH += .
|
||||
INCLUDEPATH += .
|
||||
OBJECTS_DIR = temp
|
||||
CONFIG += warn_on debug
|
||||
QT -= gui core
|
||||
|
||||
# Input
|
||||
HEADERS += check.h \
|
||||
checkautovariables.h \
|
||||
checkbufferoverrun.h \
|
||||
checkclass.h \
|
||||
checkdangerousfunctions.h \
|
||||
checkheaders.h \
|
||||
checkmemoryleak.h \
|
||||
checkother.h \
|
||||
checkstl.h \
|
||||
checkunusedfunctions.h \
|
||||
cppcheck.h \
|
||||
cppcheckexecutor.h \
|
||||
errorlogger.h \
|
||||
filelister.h \
|
||||
mathlib.h \
|
||||
preprocessor.h \
|
||||
resource.h \
|
||||
settings.h \
|
||||
threadexecutor.h \
|
||||
token.h \
|
||||
tokenize.h
|
||||
SOURCES += checkautovariables.cpp \
|
||||
checkbufferoverrun.cpp \
|
||||
checkclass.cpp \
|
||||
checkdangerousfunctions.cpp \
|
||||
checkheaders.cpp \
|
||||
checkmemoryleak.cpp \
|
||||
checkother.cpp \
|
||||
checkstl.cpp \
|
||||
checkunusedfunctions.cpp \
|
||||
cppcheck.cpp \
|
||||
cppcheckexecutor.cpp \
|
||||
errorlogger.cpp \
|
||||
filelister.cpp \
|
||||
main.cpp \
|
||||
mathlib.cpp \
|
||||
preprocessor.cpp \
|
||||
settings.cpp \
|
||||
threadexecutor.cpp \
|
||||
token.cpp \
|
||||
tokenize.cpp
|
||||
|
||||
win32 {
|
||||
CONFIG += embed_manifest_exe console
|
||||
RC_FILE = cppcheck.rc
|
||||
HEADERS += resource.h
|
||||
LIBS += -lshlwapi
|
||||
}
|
|
@ -0,0 +1,79 @@
|
|||
######################################################################
|
||||
# Automatically generated by qmake (2.01a) Mon Jul 13 17:37:53 2009
|
||||
######################################################################
|
||||
|
||||
TEMPLATE = app
|
||||
TARGET = test
|
||||
DEPENDPATH += .
|
||||
INCLUDEPATH += ../src
|
||||
OBJECTS_DIR = temp
|
||||
CONFIG += warn_on debug
|
||||
QT -= gui core
|
||||
DEFINES += UNIT_TESTING
|
||||
|
||||
# Input
|
||||
HEADERS += testsuite.h \
|
||||
../src/tokenize.h \
|
||||
../src/settings.h \
|
||||
../src/errorlogger.h \
|
||||
../src/token.h \
|
||||
../src/checkautovariables.h \
|
||||
../src/check.h \
|
||||
../src/checkbufferoverrun.h \
|
||||
../src/checkother.h \
|
||||
../src/checkclass.h \
|
||||
../src/cppcheck.h \
|
||||
../src/checkunusedfunctions.h \
|
||||
../src/checkdangerousfunctions.h \
|
||||
../src/filelister.h \
|
||||
../src/mathlib.h \
|
||||
../src/checkmemoryleak.h \
|
||||
../src/preprocessor.h \
|
||||
../src/checkstl.h \
|
||||
../src/checkheaders.h
|
||||
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 \
|
||||
testunusedvar.cpp \
|
||||
../src/tokenize.cpp \
|
||||
../src/settings.cpp \
|
||||
../src/errorlogger.cpp \
|
||||
../src/token.cpp \
|
||||
../src/checkautovariables.cpp \
|
||||
../src/checkbufferoverrun.cpp \
|
||||
../src/checkother.cpp \
|
||||
../src/checkclass.cpp \
|
||||
../src/cppcheck.cpp \
|
||||
../src/checkunusedfunctions.cpp \
|
||||
../src/checkdangerousfunctions.cpp \
|
||||
../src/filelister.cpp \
|
||||
../src/mathlib.cpp \
|
||||
../src/checkmemoryleak.cpp \
|
||||
../src/preprocessor.cpp \
|
||||
../src/checkstl.cpp \
|
||||
../src/CheckHeaders.cpp
|
||||
|
||||
win32 {
|
||||
CONFIG += console
|
||||
LIBS += -lshlwapi
|
||||
}
|
Loading…
Reference in New Issue