2009-12-12 19:38:49 +01:00
|
|
|
# Minimal CMake build file to build static cppcheck library
|
|
|
|
# This static library is used to build executables:
|
|
|
|
# - cli
|
|
|
|
|
|
|
|
SET(CHECKLIB_SRCS
|
|
|
|
checkautovariables.cpp
|
|
|
|
checkbufferoverrun.cpp
|
|
|
|
checkclass.cpp
|
|
|
|
checkdangerousfunctions.cpp
|
|
|
|
checkexceptionsafety.cpp
|
|
|
|
checkheaders.cpp
|
2009-12-17 19:16:28 +01:00
|
|
|
checkmemoryleak.cpp
|
|
|
|
checkother.cpp
|
|
|
|
checkstl.cpp
|
|
|
|
checkunusedfunctions.cpp
|
|
|
|
cppcheck.cpp
|
2009-12-12 19:38:49 +01:00
|
|
|
errorlogger.cpp
|
2009-12-17 19:19:55 +01:00
|
|
|
executionpath.cpp
|
2009-12-17 19:16:28 +01:00
|
|
|
filelister.cpp
|
|
|
|
mathlib.cpp
|
|
|
|
preprocessor.cpp
|
|
|
|
settings.cpp
|
|
|
|
token.cpp
|
2009-12-12 19:38:49 +01:00
|
|
|
tokenize.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
ADD_LIBRARY(checklib STATIC ${CHECKLIB_SRCS})
|
|
|
|
|