-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
executable file
·57 lines (43 loc) · 1.5 KB
/
WORKSPACE
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
54
55
56
57
workspace(
name = "automata",
)
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository", "new_git_repository") #new:git_repository is needed for projects without a BUILD file ;-)
git_repository(
name = "com_google_benchmark",
branch = "master",
remote = "https://github.com/google/benchmark",
)
git_repository(
name = "com_google_googletest",
branch = "master",
remote = "https://github.com/google/googletest",
)
git_repository(
name = "com_github_google_rules_install",
branch = "master",
remote = "https://github.com/google/bazel_rules_install",
)
load("@com_github_google_rules_install//:deps.bzl", "install_rules_dependencies")
install_rules_dependencies()
load("@com_github_google_rules_install//:setup.bzl", "install_rules_setup")
install_rules_setup()
all_content = """filegroup(name = "all", srcs = glob(["**"]), visibility = ["//visibility:public"])"""
new_git_repository(
name = "opencv",
branch = "master",
build_file_content = all_content,
remote = "https://github.com/opencv/opencv",
)
new_git_repository(
name = "sfml",
branch = "master",
build_file_content = all_content,
remote = "https://github.com/SFML/SFML",
)
git_repository(
name = "rules_foreign_cc",
branch = "master",
remote = "https://github.com/bazelbuild/rules_foreign_cc",
)
load("@rules_foreign_cc//:workspace_definitions.bzl", "rules_foreign_cc_dependencies")
rules_foreign_cc_dependencies()