-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD
45 lines (40 loc) · 886 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
load("//tools:cpplint.bzl", "cpplint")
package(default_visibility = ["//visibility:public"])
cc_binary(
name = "librealsense_component.so",
#linkopts = ["-shared"],
linkshared = True,
linkstatic = False,
deps = [
":realsense_component_lib",
],
)
cc_library(
name = "realsense_component_lib",
srcs = ["realsense_component.cc"],
hdrs = [
"realsense_component.h",
"realsense.h",
],
linkopts = [
"-lopencv_core",
"-lopencv_highgui",
"-lopencv_videoio",
"-lopencv_imgproc",
"-lopencv_imgcodecs",
"-lopencv_calib3d",
"-lrealsense2",
],
deps = [
"//cyber",
"//modules/sensors/proto:sensors_cc_proto",
]
)
cc_binary(
name = "connect_check",
srcs = ["connect_check.cc"],
linkopts = [
"-lrealsense2",
],
)
cpplint()