« Return to Thread: Using boost libraries on Ubuntu through Boost.Build

Re: Using boost libraries on Ubuntu through Boost.Build

by Stefan Arentz-2 :: Rate this Message:

Reply to Author | View in Thread

On Feb 8, 2008 3:01 PM, Darren Garvey <darren.garvey@...> wrote:

> Hi Stefan,
>
> On 06/02/2008, Stefan Arentz <stefan.arentz@...> 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.
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

 « Return to Thread: Using boost libraries on Ubuntu through Boost.Build