Milind Upadhyay | 7c20522 | 2022-11-16 18:20:58 -0800 | [diff] [blame^] | 1 | # Copy of ceres example code from their repo |
| 2 | cc_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 | ) |