bazel-compile-commands-extractor
bazel-compile-commands-extractor copied to clipboard
Goal: Enable awesome tooling for Bazel users of the C language family.
Hi, I doubt this is a bug. I'm very new to Bazel and have probably done something wrong. I've got a "hello world" project with just one source file -...
Hi, thanks for you guys provide so great tools. But I encountered a problem when I wanted to use it in the proxy_wasm_cpp_host. Here is my build configuration: ``` refresh_compile_commands(...
Specific startup flags via an extra `--startup`. ```shell $ bazel run //:refresh_compile_commands -- --startup --bazelrc=abc.bazelrc --config debug ```
I'm using https://github.com/bazel-contrib/toolchains_llvm to set up the toolchain the project should use and making sure everything looks right. Everything compiles, and the compile_commands.json seems to generated, mostly correct. Except that...
This is a quick thing we needed to do in our environment to get everything working. 1. Make the bazel command configurable - we need to call bazel from a...
Hello! Thank you for your project! How about the possibility to set a custom path for the generated `compile-commands.json`? Clangd supports this with the `--compile-commands-dir` parameter. Motivation: 1. We mount...
0b821b7 was supposed to revert 0e5b1aa but I think it accidentally changed this line which now assigns a boolean to a str so I restored it to how it was...
Trying to generate compile_commands.json using commit 4f28899228fb3ad0126897876f147ca15026151e on Bazel 8 and this is what I get, no matter if I use `refresh_all` or `refresh_compile_commands` with a specific target. ``` File...
Order entries in the output json file by filename, to make output deterministic. An example of why this is useful: changes in Python, bazel, or `rules_cc` can all change the...
# Environment Ubuntu 22.04 Bazel 8.2.1 hedron_compile_commands f5fbd4cee671d8d908f37c83abaf70fba5928fc7 (same as #219) # Project ``` ➜ httptest ls BUILD MODULE.bazel main.cpp ``` `BUILD`: ```shell cc_binary( name = "main", srcs = ["main.cpp"],...