-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
127 lines (114 loc) · 3.24 KB
/
BUILD.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
# LICENSE
# Bazel Build for KIT Real-Time Time-Optimal Path Parameterization (RTTOPP)
package(default_visibility = ["//visibility:public"])
# https://docs.bazel.build/versions/master/be/c-cpp.html#cc_library
cc_library(
name = "rttopp",
srcs = glob([
"src/demo_trajectories.cpp",
"include/rttopp/*.h"
]),
includes = ["include"],
hdrs = ["include/rttopp/rttopp2.h"], # Public interface of the library
deps = ["@json//:nlohmann_json",
"@com_gitlab_libeigen_eigen//:eigen"
],
copts = []
)
cc_library(
name = "param_random_waypoints_example_generic",
srcs = glob([
"examples/param_random_waypoints_generic.cpp",
"include/rttopp/*.h"
]),
includes = ["include"],
hdrs = ["include/rttopp/rttopp2.h"], # Public interface of the library
deps = ["@json//:nlohmann_json",
"@com_gitlab_libeigen_eigen//:eigen"
],
copts = []
)
cc_library(
name = "param_random_waypoints_iiwa",
srcs = glob([
"examples/param_random_waypoints_iiwa.cpp",
"include/rttopp/*.h"
]),
includes = ["include"],
hdrs = ["include/rttopp/rttopp2.h"], # Public interface of the library
deps = ["@json//:nlohmann_json",
"@com_gitlab_libeigen_eigen//:eigen"
],
copts = []
)
cc_library(
name = "param_random_waypoints_generic_sampling_example",
srcs = glob([
"examples/param_random_waypoints_generic_sampling_example.cpp",
"include/rttopp/*.h"
]),
includes = ["include"],
hdrs = ["include/rttopp/rttopp2.h"], # Public interface of the library
deps = ["@json//:nlohmann_json",
"@com_gitlab_libeigen_eigen//:eigen"
],
copts = []
)
cc_library(
name = "param_failed_random_waypoints_example_generic",
srcs = glob([
"examples/param_failed_random_waypoints_example_generic.cpp",
"include/rttopp/*.h"
]),
includes = ["include"],
hdrs = ["include/rttopp/rttopp2.h"], # Public interface of the library
deps = ["@json//:nlohmann_json",
"@com_gitlab_libeigen_eigen//:eigen"
],
copts = []
)
cc_test(
name = "path_velocity_limit_tests",
srcs = glob([
"tests/path_velocity_limit.cpp",
"include/rttopp/*.h"
]),
includes = ["include"],
deps = [":rttopp",
"@json//:nlohmann_json",
"@com_gitlab_libeigen_eigen//:eigen",
"@com_google_googletest//:gtest",
"@com_google_googletest//:gtest_main"
],
copts = []
)
cc_test(
name = "test_preprocessing",
srcs = glob([
"tests/test_preprocessing.cpp",
"include/rttopp/*.h"
]),
includes = ["include"],
deps = [":rttopp",
"@json//:nlohmann_json",
"@com_gitlab_libeigen_eigen//:eigen",
"@com_google_googletest//:gtest",
"@com_google_googletest//:gtest_main"
],
copts = []
)
cc_test(
name = "param_tests",
srcs = glob([
"tests/param.cpp",
"include/rttopp/*.h"
]),
includes = ["include"],
deps = [":rttopp",
"@json//:nlohmann_json",
"@com_gitlab_libeigen_eigen//:eigen",
"@com_google_googletest//:gtest",
"@com_google_googletest//:gtest_main"
],
copts = []
)