Alexander Ivanov
f982d3071d
Fixing bazel build
...
Change-Id: I610c5a1f4f8c46d7ef75dd4861e31e98c2fa825d
2023-01-09 06:19:18 +00:00
Sameer Agarwal
5d0bca14dd
Remove ceres/internal/random.h in favor of <random>
...
Fixes https://github.com/ceres-solver/ceres-solver/issues/854
Change-Id: Id30b8dc2221f9afe4eb83f3a9304b9b2bc7e05d4
2022-08-08 07:06:21 -07:00
Austin Schuh
17cf018314
Hide 'format not a string literal' error in examples
...
Change-Id: Ieb3d24438f1c5ec46d3a1de049e63c65ae2ed312
2021-01-04 22:58:20 +00:00
Austin Schuh
c48a327927
Use cc_binary includes so examples build as external repo
...
When the examples are built from an external repo, the -I flag doesn't
point anywhere useful. Bazel has an includes option to handle this, so
just use that instead.
Change-Id: Ic768bd60c547948959912193765d4097ec0adf8c
2020-12-23 22:37:59 -08:00
Sameer Agarwal
29c2912ee6
Unbreak the bazel build some more
...
Change-Id: I6bbf3df977a473b9b5e16a9e59da5f535f8cdc24
2020-10-13 12:07:06 -07:00
Keir Mierle
a3b1e19c2c
Add examples to the Bazel build
...
Also moves the gflags namespace define
into the ceres_library() target.
Change-Id: Ibb8f3fdd9a8c371fe96b475f752f8320ffe63cdc
2018-02-25 14:55:27 -08:00