summaryrefslogtreecommitdiff
path: root/BUILD.bazel
diff options
context:
space:
mode:
Diffstat (limited to 'BUILD.bazel')
-rw-r--r--BUILD.bazel18
1 files changed, 18 insertions, 0 deletions
diff --git a/BUILD.bazel b/BUILD.bazel
new file mode 100644
index 0000000..d861b66
--- /dev/null
+++ b/BUILD.bazel
@@ -0,0 +1,18 @@
+load("@hedron_compile_commands//:refresh_compile_commands.bzl", "refresh_compile_commands")
+
+refresh_compile_commands(
+ name = "refresh_clangd",
+ targets = "//...",
+)
+
+platform(
+ name = "x64_windows-clang-cl",
+ constraint_values = [
+ "@platforms//cpu:x86_64",
+ "@platforms//os:windows",
+ # @Todo(bazel) Bit weird to use a private thing.
+ # We used to use @bazel_tools//tools/cpp:clang-cl but it's deprecated
+ # in favor of... this?...
+ "@rules_cc//cc/private/toolchain:clang-cl",
+ ],
+)