bazelbuild/bazel

An example of how to create a C++ compilation database is needed

Open

#13.976 geöffnet am 11. Sept. 2021

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Java (4.465 Forks)batch import
P3help wantedteam-Documentationteam-Rules-CPPtype: documentation (cleanup)

Repository-Metriken

Stars
 (25.384 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 22T 20h) (77 gemergte PRs in 30 T)

Beschreibung

Description of the problem / feature request:

Please provide a definitive example of how to create a compilation database for a Bazel-based C++ project.

Feature requests: what underlying problem are you trying to solve with this feature?

There are numerous IDEs that rely on clang language server (which requires compilation database for precise source indexing) to implement code browsing / code completion features for C++.

Contributor Guide