blob: f2cb96b1a215b37d4b9232e934e3e158f3b5b647 [file] [log] [blame]
Milind Upadhyay7c205222022-11-16 18:20:58 -08001# Copy of ceres example code from their repo
2cc_library(
Milind Upadhyayc5beba12022-12-17 17:41:20 -08003 name = "pose_graph_3d_lib",
Milind Upadhyay7c205222022-11-16 18:20:58 -08004 hdrs = [
Milind Upadhyayc5beba12022-12-17 17:41:20 -08005 "pose_graph_3d_error_term.h",
Milind Upadhyay7c205222022-11-16 18:20:58 -08006 "read_g2o.h",
7 "types.h",
8 ],
9 copts = [
10 # Needed to silence GFlags complaints.
11 "-Wno-sign-compare",
12 "-Wno-unused-parameter",
13 "-Wno-format-nonliteral",
14 ],
15 target_compatible_with = ["@platforms//os:linux"],
16 visibility = ["//visibility:public"],
17 deps = [
18 "@com_github_gflags_gflags//:gflags",
19 "@com_google_ceres_solver//:ceres",
20 "@org_tuxfamily_eigen//:eigen",
21 ],
22)