Alex Stewart
6414bd0279
Add option to use C++11 (not TR1) shared_ptr & unordered_map.
...
- On at least some compilers, -std=c++11 is required in order to compile
against std::shared_ptr & std::unordered_map, which resulted in our
checks failing to find them and using the TR1 versions instead, which
causes conflicts for users using C++11.
- Now, if the compiler supports it and the user enables the CXX11
option, we explicitly enable C++11 before searching for shared_ptr &
unordered_map, which means we should always find the C++11 versions
if they are available.
- As use of CXX11 results in a version of Ceres that must be used with
-std=c++11 for GCC & Clang, we roll this into the Ceres target when
the version of CMake supports this, otherwise we warn the user they
will have to do this themselves.
- CXX11 is OFF by default, to ensure that the behaviour of Ceres is
unchanged from before.
Change-Id: I157ea7a4fadc6bc02da176b8e771f1f327ccaf78
2015-06-22 08:54:40 +00:00
..
2015-03-18 05:43:23 +00:00
2014-03-11 10:48:40 -07:00
2014-03-11 10:48:40 -07:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-04-07 14:13:25 -07:00
2015-04-07 14:13:25 -07:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-06-22 08:54:40 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-06-18 16:01:15 -07:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-04-09 21:05:22 -07:00
2015-04-07 14:13:25 -07:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2014-03-11 10:48:40 -07:00
2014-11-27 09:56:37 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-05-04 16:11:35 +02:00
2015-03-18 05:43:23 +00:00
2015-05-04 09:21:33 +02:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-20 22:08:15 +00:00
2015-03-20 22:08:15 +00:00
2015-04-07 14:13:25 -07:00
2015-04-07 14:13:25 -07:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-04-29 12:38:04 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-04-16 16:01:18 -04:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-20 22:08:15 +00:00
2015-03-20 17:05:35 -07:00
2015-05-19 17:13:57 +02:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-05-13 21:37:15 -07:00
2015-03-18 05:43:23 +00:00
2015-03-21 17:00:40 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-04-07 14:13:25 -07:00
2015-03-18 05:43:23 +00:00
2015-04-07 14:13:25 -07:00
2015-04-07 14:13:25 -07:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-30 19:54:26 +01:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-04-05 23:35:04 -07:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-04-16 16:01:18 -04:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-05-26 17:29:17 +02:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00
2015-03-18 05:43:23 +00:00