bear Command Examples

A tool to generate compilation databases for clang tooling. More information: https://github.com/rizsotto/Bear.

bear -- {{make}}

bear --output {{path/to/compile_commands.json}} -- {{make}}

bear --append -- {{make}}

bear --verbose -- {{make}}

bear --force-preload -- {{make}}