From e60c508e976ff8acb71a2fd0fc6958c5f1f50a69 Mon Sep 17 00:00:00 2001
From: Steven Le Rouzic <steven.lerouzic@gmail.com>
Date: Mon, 20 Jan 2025 22:04:30 +0100
Subject: Initial commit

---
 BUILD.bazel | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 BUILD.bazel

(limited to 'BUILD.bazel')

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",
+    ],
+)
-- 
cgit