commit | 7b4fb69dad49eaefb5d2d47ef0d76f48ad7fef73 | [log] [tgz] |
---|---|---|
author | Alex Stewart <alexs.mac@gmail.com> | Sun Jun 28 21:43:46 2015 +0100 |
committer | Alex Stewart <alexs.mac@gmail.com> | Wed Jul 15 22:12:44 2015 +0000 |
tree | 2a703a79525cecc254a887367743201ca297575f | |
parent | b3063c047906d4a44503dc0187fdcbbfcdda5f38 [diff] |
Cleanup FindGflags & use installed gflags CMake config if present. - Split out gflags namespace detection methods: check_cxx_source_compiles() & regex, into separate functions. - Use installed/exported gflags CMake configuration (present for versions >= 2.1) if available, unless user expresses a preference not to, or specifies search directories, in which case fall back to manual search for components. -- Prefer installed gflags CMake configurations over exported gflags build directories on all OSs. - Remove custom version of check_cxx_source_compiles() that attempted to force the build type of the test project. This only worked for NMake on Windows, not MSVC as msbuild ignored our attempts to force the build type. Now we always use the regex method on Windows if we cannot find an installed gflags CMake configuration which works even on MSVC by bypassing msbuild. - Add default search paths for gflags on Windows. Change-Id: I083b267d97a7a5838a1314f3d41a61ae48d5a2d7
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