-
Notifications
You must be signed in to change notification settings - Fork 7
/
BUILD.bazel
23 lines (19 loc) · 971 Bytes
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
load("@hedron_compile_commands//:refresh_compile_commands.bzl", "refresh_compile_commands")
########################################################################
# Hedron's Compile Commands Extractor for Bazel.
# Follow the link to learn how to set it up for your code editor:
# https://github.com/hedronvision/bazel-compile-commands-extractor
# NOTE: This rule is crucial for clangd and clang-tidy to work.
# Its output is used by clangd and clang-tidy to understand the build process.
# TODO(folming): move the rules to a separate bazel file.
refresh_compile_commands(
name = "refresh_cc",
# If the rule doesn't work for you, you can set explicitly which
# targets to extract compile commands from here.
# The value for keys is meant for additional bazel build arguments, e.g.
# "//test:eventuals": "--compilation_mode=dbg".
targets = {
"...": "",
},
)
########################################################################