commit | d72e19d9859722421b9cb23089354a5a967cba12 | [log] [tgz] |
---|---|---|
author | Alex Stewart <alexs.mac@gmail.com> | Tue Apr 18 16:55:51 2017 +0100 |
committer | Alex Stewart <alexs.mac@gmail.com> | Sun Apr 30 14:51:03 2017 +0000 |
tree | ce2ef19fdaef3effc2fccf7ec77a8374f5913066 | |
parent | 1d7185f1306747bf06d162ff8f531e2a8d4f30a1 [diff] |
Use target_compile_features() to specify C++11 requirement if available. - Use target_compile_features() to specify the C++11 dependency for Ceres if the CXX11 option is enabled and the current CMake version supports it (>= 3.1). Otherwise fall back onto our existing target_compile_options() solution if available. - We prefer the use of target_compile_features() if available as it more gracefully handles ‘upgrading’ of the C++ standard in client projects that depend upon Ceres, e.g. if the client requires C++14. The current solution may fail to produce the expected result in this case as raised in https://github.com/ceres-solver/ceres-solver/issues/273. Change-Id: Ib3cff8d4b9fe93fa6d6b376b4dd53923bb1c4ecc
Ceres Solver is an open source C++ library for modeling and solving large, complicated optimization problems. It is a feature rich, mature and performant library which has been used in production at Google since 2010. Ceres Solver can solve two kinds of problems.
Please see ceres-solver.org for more information.
Ceres development happens on Gerrit, including both repository hosting and code reviews. The GitHub Repository is a continuously updated mirror which is primarily meant for issue tracking. Please see our Contributing to Ceres Guide for more details.
The upstream Gerrit repository is
https://ceres-solver.googlesource.com/ceres-solver