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
cppcheck = find_program('cppcheck', required : false)
if cppcheck.found()
cppcheck_args = [
main, cmplib_sources,
'--clang',
'--project=' + join_paths(meson.build_root(), 'compile_commands.json'),
# '--clang',
'--cppcheck-build-dir='+meson.current_build_dir(),
'-I', 'include',
'--std=c89',
# '--addon=misra.py',
'--bug-hunting',
'--enable=all',
'--inconclusive'
]
run_target('inspector',
run_target('cppcheck',
command : [cppcheck, cppcheck_args]
)
endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment