-
Notifications
You must be signed in to change notification settings - Fork 97
/
WORKSPACE.bazel
53 lines (40 loc) · 1.63 KB
/
WORKSPACE.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
workspace(name = "libsbp")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_swiftnav",
strip_prefix = "rules_swiftnav-cb82c790d50dd87f301df67b710161906dafb0c2",
url = "https://github.com/swift-nav/rules_swiftnav/archive/cb82c790d50dd87f301df67b710161906dafb0c2.tar.gz",
)
load(
"@rules_swiftnav//cc:repositories.bzl",
"register_swift_cc_toolchains",
"swift_cc_toolchain",
)
swift_cc_toolchain()
register_swift_cc_toolchains()
http_archive(
name = "rules_foreign_cc",
strip_prefix = "rules_foreign_cc-c65e8cfbaa002bcd1ce9c26e9fec63b0b866c94b",
url = "https://github.com/bazelbuild/rules_foreign_cc/archive/c65e8cfbaa002bcd1ce9c26e9fec63b0b866c94b.tar.gz",
)
load("@rules_foreign_cc//foreign_cc:repositories.bzl", "rules_foreign_cc_dependencies")
rules_foreign_cc_dependencies()
# Hedron's Compile Commands Extractor for Bazel
# Used to create compile_commands.json file
http_archive(
name = "hedron_compile_commands",
sha256 = "4b251a482a85de6c5cb0dc34c5671e73190b9ff348e9979fa2c033d81de0f928",
strip_prefix = "bazel-compile-commands-extractor-5bb5ff2f32d542a986033102af771aa4206387b9",
url = "https://github.com/hedronvision/bazel-compile-commands-extractor/archive/5bb5ff2f32d542a986033102af771aa4206387b9.tar.gz",
)
load("@hedron_compile_commands//:workspace_setup.bzl", "hedron_compile_commands_setup")
hedron_compile_commands_setup()
local_repository(
name = "googletest",
path = "c/third_party/googletest",
)
new_local_repository(
name = "check",
build_file = "@rules_swiftnav//third_party:check.BUILD",
path = "c/third_party/check",
)