diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2025-01-20 22:04:30 +0100 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2025-01-20 22:04:30 +0100 |
commit | e60c508e976ff8acb71a2fd0fc6958c5f1f50a69 (patch) | |
tree | a3e6fa3d693986185e77f7287b546104a7f4c030 /BUILD.bazel |
Initial commit
Diffstat (limited to 'BUILD.bazel')
-rw-r--r-- | BUILD.bazel | 18 |
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",
+ ],
+)
|