-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
46 lines (43 loc) · 882 Bytes
/
BUILD
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
cc_binary(
name = "main",
srcs = ["main.cc"],
deps = [
"//builder",
"//engine:simulate",
":renderer",
]
)
cc_library(
name = "common",
srcs = glob(["common/*.cc"]),
hdrs = glob(["common/*.hh"]),
deps = [
"@glfw//:glfw",
"@eigen//:eigen",
],
visibility = ["//visibility:public"],
)
cc_library(
name = "renderer",
srcs = glob(["renderer/*.cc"]),
hdrs = glob(["renderer/*.hh"]),
deps = [
":common",
"//builder:context",
"//engine:context",
"//engine:simulate",
"@glfw//:glfw",
"@eigen//:eigen",
],
visibility = ["//visibility:public"],
)
cc_test(
name = "test",
srcs = glob(["common/test/*.cc"]),
deps = [
":common",
"//builder:builder",
"@gtest//:gtest",
"@gtest//:gtest_main"
]
)