summaryrefslogtreecommitdiff
path: root/BUILD.bazel
blob: d861b66747711b57f3bcce72fd28c843a8331517 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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",
    ],
)