forked from PointOneNav/fusion-engine-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
83 lines (74 loc) · 1.91 KB
/
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
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
package(default_visibility = ["//visibility:public"])
# Default target: include all messages and supporting code.
cc_library(
name = "fusion_engine_client",
deps = [
":core",
":messages",
],
)
# Support for building a shared library if desired.
cc_binary(
name = "libfusion_engine_client.so",
linkshared = True,
deps = [
":fusion_engine_client",
],
)
# Core navigation solution support functionality.
cc_library(
name = "core",
deps = [
":core_headers",
":crc",
],
)
################################################################################
# Message Definitions
################################################################################
# Message definition headers only (all message types).
cc_library(
name = "messages",
deps = [
":core_headers",
":ros_support",
],
)
# Core navigation solution message definitions.
cc_library(
name = "core_headers",
hdrs = [
"src/point_one/fusion_engine/common/portability.h",
"src/point_one/fusion_engine/messages/core.h",
"src/point_one/fusion_engine/messages/defs.h",
"src/point_one/fusion_engine/messages/measurements.h",
"src/point_one/fusion_engine/messages/solution.h",
],
includes = ["src"],
)
# ROS translation message definitions.
cc_library(
name = "ros_support",
hdrs = [
"src/point_one/fusion_engine/messages/ros.h",
],
deps = [
":core_headers",
],
)
################################################################################
# Support Functionality
################################################################################
# CRC support.
cc_library(
name = "crc",
srcs = [
"src/point_one/fusion_engine/messages/crc.cc",
],
hdrs = [
"src/point_one/fusion_engine/messages/crc.h",
],
deps = [
":core_headers",
],
)