On Tue, Apr 16, 2013 at 2:45 PM, Mathias Gaunard < mathias.gaunard@ens-lyon.org> wrote:
The Boost naming scheme does not encode 32/64 bit, nor does the build system build both for you. There is nothing FindBoost can do.
That's exactly what I am saying.
Just put 32-bit and 64-bit variants in different directories, and configure your build to use the right directory for your build.
That's what I am doing but I am not satisfied with having to re-define the BOOST_LIBRARYDIR each time I have to configure a cmake project, which I do a lot when working with CMake because I need to make sure the CMake scripts works when generating from scratch. I'm also not satisfied to have co-workers spending time on setting up a build system just to start working on my project, which is why I put a lot of effort into minimizing the time to start working on actual code.
If you read the link you would know I'm talking about the CMake help
documentation which don't describe BOOST_LIBRARYDIR at all. When you're using CMake to configure your libraries, that's where you look. I filed a ticket for this.
The documentation of a find module is whatever is written at the beginning of the file in question.
The HELP documentation is whatever is written when you use "cmake --help-module <module-name>" and once again that variable is not documented in the "cmake --help-module FindBoost" command. Not everybody like to have to dive in the source files of their tools to understand them, or have time to do so. Joel Lamotte