Generate compile_commands.json from an existing project.