blob: 5622b5570746df2abf0db3c44828f63170341f7f [file] [log] [blame]
Milind Upadhyay7c205222022-11-16 18:20:58 -08001# Copy of ceres example code from their repo
2cc_library(
3 name = "pose_graph_2d_lib",
4 hdrs = [
5 "angle_local_parameterization.h",
6 "normalize_angle.h",
7 "pose_graph_2d_error_term.h",
8 "read_g2o.h",
9 "types.h",
10 ],
11 copts = [
12 # Needed to silence GFlags complaints.
13 "-Wno-sign-compare",
14 "-Wno-unused-parameter",
15 "-Wno-format-nonliteral",
16 ],
17 target_compatible_with = ["@platforms//os:linux"],
18 visibility = ["//visibility:public"],
19 deps = [
20 "@com_github_gflags_gflags//:gflags",
21 "@com_google_ceres_solver//:ceres",
22 "@org_tuxfamily_eigen//:eigen",
23 ],
24)