Boost logo

Boost-Build :

From: Stefan Arentz (stefan.arentz_at_[hidden])
Date: 2008-02-09 12:09:41


On Feb 8, 2008 3:01 PM, Darren Garvey <darren.garvey_at_[hidden]> wrote:
> Hi Stefan,
>
> On 06/02/2008, Stefan Arentz <stefan.arentz_at_[hidden]> wrote:
> > ...
> >
> > But now I want this example to use for example the Boost.Filesystem
> library.
> >
> > What is the proper way to do this on a system like Ubuntu where there
> > is no Boost root but instead just installed headers and libraries?
> >
> > Can anyone show a minimal Jamroot that depends on a boost library?
>
> Have a look at the bottom of this post, I think it shows what you're looking
> for. It's not specific to Ubuntu, but I use it there without any problems.

Thanks Darren and Jurko.

This works, but I wonder if it is the best way to go for me now. The
problem is that I want to build this project on both OS X and Linux
and the libraries are in different locations and even have slightly
different names I think.

If my app is just dependent on Boost stuff, would it make more sense
to stop using the distribution-provided packages and instead just
build Boost manually? Or even include it's source in my project?

Am I correct that I can simply reference boost as a dependent project
and that bjam will build the parts that I need as part of building my
app?

I guess that is more elegant. Is it good practice to go that route?

 S.


Boost-Build 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