tree: 313cfa33fc071760128fddb60ab4aadf0cf72072 [path history] [tgz]
  1. common/
  2. configurer/
  3. language/
  4. parsers/
  5. resolver/
  6. BUILD.bazel
  7. extension.go
  8. extension_test.go
  9. README.md
  10. test_filemap.json
bazel/gazelle/cpp/README.md

Gazelle extension for C++ code

This extension generates generated_cc_atom rules, which take in exactly one C++ header or source file and list its dependencies (usually other header files). This rule type is a very thin wrapper around cc_library, mainly named this way in order to visually distinguish automatically generated rules from manually-created ones.

Generating these “atom” rules is not sufficient to make a library or executable buildable and linkable, but it should make defining cc_library, cc_test, and cc_binary rules easier, in that rule writers do not have to manually compute the dependencies and transitive dependencies.

See also