Using the --project argument is useless as from what I can tell, the script just iterates over every file anyways. Thus, if I wanted to provide a compile DB using --project=build/compile_commands.json or somesuch, I just get an error like:
cppcheck: error: --project cannot be used in conjunction with source files.
Using the
--projectargument is useless as from what I can tell, the script just iterates over every file anyways. Thus, if I wanted to provide a compile DB using--project=build/compile_commands.jsonor somesuch, I just get an error like: