-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
93 lines (92 loc) · 2.45 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
84
85
86
87
88
89
90
91
92
93
load("@//tools/build_rules:select.bzl", "compiler_select")
cc_library(
name = "apriltag",
srcs = [
"apriltag.c",
"apriltag_pose.c",
"apriltag_quad_thresh.c",
"common/g2d.c",
"common/getopt.c",
"common/homography.c",
"common/image_u8.c",
"common/image_u8x3.c",
"common/image_u8x4.c",
"common/matd.c",
"common/pam.c",
"common/pjpeg.c",
"common/pjpeg-idct.c",
"common/pnm.c",
"common/string_util.c",
"common/svd22.c",
"common/time_util.c",
"common/unionfind.c",
"common/workerpool.c",
"common/zarray.c",
"common/zhash.c",
"common/zmaxheap.c",
"tag16h5.c",
"tag25h9.c",
"tag36h11.c",
"tagCircle21h7.c",
"tagCircle49h12.c",
"tagCustom48h12.c",
"tagStandard41h12.c",
"tagStandard52h13.c",
],
hdrs = [
"apriltag.h",
"apriltag_math.h",
"apriltag_pose.h",
"common/debug_print.h",
"common/g2d.h",
"common/getopt.h",
"common/homography.h",
"common/image_types.h",
"common/image_u8.h",
"common/image_u8x3.h",
"common/image_u8x4.h",
"common/matd.h",
"common/math_util.h",
"common/pam.h",
"common/pjpeg.h",
"common/pnm.h",
"common/postscript_utils.h",
"common/pthreads_cross.h",
"common/string_util.h",
"common/svd22.h",
"common/time_util.h",
"common/timeprofile.h",
"common/unionfind.h",
"common/workerpool.h",
"common/zarray.h",
"common/zhash.h",
"common/zmaxheap.h",
"tag16h5.h",
"tag25h9.h",
"tag36h11.h",
"tagCircle21h7.h",
"tagCircle49h12.h",
"tagCustom48h12.h",
"tagStandard41h12.h",
"tagStandard52h13.h",
],
copts = compiler_select({
"clang": [
"-Wno-cast-align",
"-Wno-incompatible-pointer-types-discards-qualifiers",
],
"gcc": [
"-Wno-discarded-qualifiers",
"-Wno-shift-negative-value",
],
}) + [
"-Wno-sign-compare",
"-Wno-cast-qual",
"-Wno-unused-parameter",
"-Wno-unused-variable",
"-Wno-format-nonliteral",
],
includes = ["."],
target_compatible_with = ["@platforms//os:linux"],
visibility = ["//visibility:public"],
)