Skip to content
Snippets Groups Projects
Commit 5ece935e authored by Dominik Loidolt's avatar Dominik Loidolt
Browse files

update cppcheck target

parent 271829a4
No related branches found
No related tags found
1 merge request!15decompress compression entities that are not a multiple of 4
...@@ -15,17 +15,14 @@ endif ...@@ -15,17 +15,14 @@ endif
cppcheck = find_program('cppcheck', required : false) cppcheck = find_program('cppcheck', required : false)
if cppcheck.found() if cppcheck.found()
cppcheck_args = [ cppcheck_args = [
main, cmplib_sources, '--project=' + join_paths(meson.build_root(), 'compile_commands.json'),
'--clang', # '--clang',
'--cppcheck-build-dir='+meson.current_build_dir(), '--cppcheck-build-dir='+meson.current_build_dir(),
'-I', 'include',
'--std=c89', '--std=c89',
# '--addon=misra.py',
'--bug-hunting',
'--enable=all', '--enable=all',
'--inconclusive' '--inconclusive'
] ]
run_target('inspector', run_target('cppcheck',
command : [cppcheck, cppcheck_args] command : [cppcheck, cppcheck_args]
) )
endif endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment