-
Notifications
You must be signed in to change notification settings - Fork 253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add hedron_compile_commands module to support compile_commands.json #384
add hedron_compile_commands module to support compile_commands.json #384
Conversation
…ort compile_commands.json; remove unused header files; use async_simple::coro::CoroHandle"
caee857
to
28a45c6
Compare
MODULE.bazel
Outdated
module_name = "hedron_compile_commands", | ||
remote = "https://github.com/hedronvision/bazel-compile-commands-extractor.git", | ||
commit = "1e08f8e0507b6b6b1f4416a9a22cf5c28beaba93", | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add new line
@@ -6,3 +6,12 @@ bazel_dep(name = "bazel_skylib", version = "1.6.1") | |||
bazel_dep(name = "googletest", version = "1.14.0.bcr.1", repo_name = "com_google_googletest", dev_dependency = True) | |||
bazel_dep(name = "google_benchmark", version = "1.8.4", repo_name = "com_google_benchmark", dev_dependency = True) | |||
bazel_dep(name = "boringssl", version = "0.0.0-20240530-2db0eb3", dev_dependency = True) | |||
|
|||
# Hedron's Compile Commands Extractor for Bazel | |||
# https://github.com/hedronvision/bazel-compile-commands-extractor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Write the usage instructions in README
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I'd like to land this. If there are following update or requests, we can make it in following commits. |
chore(bazel) and refactor:
Why
What is changing
No incompatible changes
Example
bazel run @hedron_compile_commands//:refresh_all -- --action_env=CXX=clang++ --action_env=CC=clang --define ASYNC_SIMPLE_DISABLE_AIO=true