A tool to generate compilation databases for
clang
tooling. More information: https://github.com/rizsotto/Bear.
compile_commands.json
by running a build command:bear -- make
bear --output path/to/compile_commands.json -- make
compile_commands.json
file:bear --append -- make
bear --verbose -- make
bear
to use the preload method for command interception:bear --force-preload -- make