Milind Upadhyay | 7c20522 | 2022-11-16 18:20:58 -0800 | [diff] [blame] | 1 | # Copy of ceres example code from their repo |
| 2 | cc_library( |
Milind Upadhyay | c5beba1 | 2022-12-17 17:41:20 -0800 | [diff] [blame] | 3 | name = "pose_graph_3d_lib", |
Milind Upadhyay | 7c20522 | 2022-11-16 18:20:58 -0800 | [diff] [blame] | 4 | hdrs = [ |
Milind Upadhyay | c5beba1 | 2022-12-17 17:41:20 -0800 | [diff] [blame] | 5 | "pose_graph_3d_error_term.h", |
Milind Upadhyay | 7c20522 | 2022-11-16 18:20:58 -0800 | [diff] [blame] | 6 | "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 | ) |