Boost logo

Boost Interest :

Subject: Re: [Boost-cmake] Building boost "with an uninstalled build" and linking to boost libs
From: Brian Davis (bitminer_at_[hidden])
Date: 2010-03-24 15:56:22


On Wed, Mar 24, 2010 at 2:44 PM, Michael Jackson <
mike.jackson_at_[hidden]> wrote:

> The Boost-CMake (IMHO) sort of "abused" the cmake system somewhat in order
> to make it more "bjam" like.
>
> In practice if the first pass of FindBoost.cmake does not find anything
> then I usually have to manually go into the CMakeCache.txt file and remove
> all the boost variables and re-run CMake. You can also probably do this
> using the CMake-Gui program.
>
>
I posted a desirement in the CMake Mantis bug tracker only to find out that
all one has to do in CMake GUI is File->"Delete Cache" then config, config,
generate, wait for CMake VS Macros to notice something is awry and update
the pojects... I still wish there were a button. If I could get a heart
rate monitor to sense my level of frustration and automatically rerun a
script to delete the cache I think this would be the optimal solution.

> Basically for each library, look in boost/libs/filesystem/CMakeLists.txt.
> That file should get you started in the right location to start trying to
> figure out what is going wrong.
>
>
Thanks for the words of advice I will keep hacking until I find out what I
am doing wrong.

Brian



Boost-cmake list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk