Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Example

Usage example of bazel-compile-commands

See comments in WORKSPACE, BUILD.bazel and .bazelrc

How to build

bazel build '@//:example'
bazel run '@bazel_compile_commands//:gen_compile_commands.sh'

You need to run bazel run '@bazel_compile_commands//:gen_compile_commands.sh' only when project changes: new dependency, changed build options, etc.