I got the following error on Ubuntu 16.04:
$ cppcheck --project=compile_commands.json
cppcheck: error: unrecognized command line option: "--project=compile_commands.json".
I already tried reinstalling cppcheck. Does anyone know to what this error is related?