File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,17 @@ dynamic_project_options(
108108 # MSVC_WARNINGS # Override the defaults for the MSVC warnings
109109 # CLANG_WARNINGS # Override the defaults for the CLANG warnings
110110 # GCC_WARNINGS # Override the defaults for the GCC warnings
111- # CPPCHECK_OPTIONS # Override the defaults for CppCheck
111+ CPPCHECK_OPTIONS
112+ --enable=style,performance,warning,portability
113+ --inline-suppr
114+ # We cannot act on a bug/missing feature of cppcheck
115+ --suppress=cppcheckError
116+ --suppress=internalAstError
117+ # if a file does not have an internalAstError, we get an unmatchedSuppression error
118+ --suppress=unmatchedSuppression
119+ --suppress=passedByValue
120+ --suppress=syntaxError
121+ --inconclusive
112122)
113123
114124target_compile_features (project_options INTERFACE cxx_std_${CMAKE_CXX_STANDARD} )
You can’t perform that action at this time.
0 commit comments