This is THE SINGLE IMPROVEMENT someone could make for those of us using CMake and are dependent on the boost libraries. Finding Boost with CMake is historically a pain and is extremely error prone. There is no support for future versions in the current FindBoost. You can take a guess, but that is about all it is.

If I had the time (which I don't.. ) I would add a "UseBoost.cmake" file that gets configured and installed with Boost. inside that file would be all the usual cmake variables that get set when FindBoost.cmake is run:

Boost_INCLUDE_DIR
Boost_LIBRARY_DIRS
Boost_PROGRAM_OPTIONS_LIBRARY
Boost_PROGRAM_OPTIONS_LIBRARY_DEBUG
Boost_PROGRAM_OPTIONS_LIBRARY_RELEASE

Boost_VERSION.. and on and on.

FindBoost.cmake boils down to looking for that file FIRST, then defaulting to the usual search that it currently does. Just my own "wish list"..

_________________________________________________________
Mike Jackson                  mike.jack...@bluequartz.net
BlueQuartz Software                    www.bluequartz.net
Principal Software Engineer                  Dayton, Ohio

On Oct 28, 2009, at 3:26 PM, troy d. straszheim wrote:


Other things to think about: pkg-config, and maybe the installation of cmake files in /usr/share/boost that makes it easy to detect/use the installation.... comments?

_______________________________________________
Boost-cmake mailing list
Boost-cmake@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-cmake

Reply via email to