Open eugeneo opened 4 months ago
This is a lazy fix for #204
In my case it prints a bunch of warnings of "-fsyntax-only" but generates usable compile_commands.json
compile_commands.json
This is how my version can be tested, add this to MODULE.bazel:
git_override( module_name = "hedron_compile_commands", remote = "https://github.com/eugeneo/bazel-compile-commands-extractor.git", commit = "844279a911d0a0adca480b299799f03f65290cce", )
I independently made an extened version of this in A modified version is available as https://github.com/hedronvision/bazel-compile-commands-extractor/pull/209 which also does not add MODULE.bazel.lock.
MODULE.bazel.lock
This is a lazy fix for #204
In my case it prints a bunch of warnings of "-fsyntax-only" but generates usable
compile_commands.json
This is how my version can be tested, add this to MODULE.bazel: