Hi,
I think it would be very useful to give a couple of hints about cmake in the Ceres build instructions page,
http://ceres-solver.org/building.htmlFor example, the fact that to specify a dynamic lib -- unlike ./configure and most other systems -- you have to give the full path to the .so.
Another big example: how do you tell ceres where to install itself.
Another: you recommend ATLAS, yet don't really say how to tell ceres where to find it, if it's not in the standard place. And it's not at all obvious!
Half for my own future reference, here's what I had to do:
cmake ../ceres-solver-1.8.0 \
-DEIGEN_INCLUDE_DIR=${EIGEN_DIR}/include/eigen3 \
-DBLAS_LIBRARIES=${ATLAS_DIR}/lib/libsatlas.so \
-DLAPACK_LIBRARIES=${ATLAS_DIR}/lib/libsatlas.so \
-DSUITESPARSE_INCLUDE_DIR_HINTS=${SUITESPARSE_DIR}/include \
-DSUITESPARSE_LIBRARY_DIR_HINTS=${SUITESPARSE_DIR}/lib \
-DGFLAGS_INCLUDE_DIR=${GFLAGS_DIR}/include \
-DGFLAGS_LIBRARY=${GFLAGS_DIR}/lib/libgflags.a \
-DGLOG_INCLUDE_DIR=${GLOG_DIR}/include \
-DGLOG_LIBRARY=${GLOG_DIR}/lib/libglog.a \
-DBUILD_TESTING=FALSE \
-DBUILD_EXAMPLES=FALSE \
-DCMAKE_INSTALL_PREFIX=/tmp/ceres
Thanks,
--dustin