Boost logo

Boost-Build :

From: chyipin (chyipin_at_[hidden])
Date: 2003-10-16 04:43:23


I'm sorry I have to do this, but yahoo keep failing when I reply to
the previous "Re: Help using <library>" thread.

--- In jamboost_at_[hidden], Vladimir Prus <ghost_at_c...> wrote:
>
> Attached. See top-level Jamfile and app/Jamfile. I hope an improved
example
> will make into M9.
>

Cannot download the example. Is there any other way I can get access
to it?

What I have that works:

use-project /boost/filesystem : $(BOOST_ROOT)/libs/filesystem/build ;

exe prog
: prog.cpp /boost/filesystem
;

Is there simpler way to use the boost libraries? It is so cumbersome
having to specify $(BOOST_ROOT)/libs/filesystem/build (i.e., I need
to know the full path to the Jamfile.

I found out that I can get it to work like so too:

use-project /boost : $(BOOST_ROOT) ;

exe prog
: prog.cpp /boost/filesystem
;

Which method is recommended? Of course, I only need the filesystem
library, but should I really need to use the entire boost library?
This method does indeed hide the details of the library, but I wonder
if there is a cost for the simplicity. Please comment.

Thanks.

 


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