|
Boost-Build : |
From: Reece Dunn (msclrhd_at_[hidden])
Date: 2006-06-25 13:36:26
David Abrahams wrote:
> "Felipe Magno de Almeida" <felipe.m.almeida_at_[hidden]> writes:
>
> > Hi,
> >
> > I have a project like this:
> >
> > exe misvc : $(SOURCES).cpp $(BOOST_ROOT)//thread $(BOOST_ROOT)//serialization
>
> Isn't "$(BOOST_ROOT)" just supposed to be "boost"? Or am I missing
> something?
IIUC, this depends on two things. Either:
(1) The project that references boost//thread is in a subdirectory of $(BOOST_ROOT):
this means that Boost libraries can reference other Boost libraries like this;
(2) You import the $(BOOST_ROOT) library names in a parent Jamfile of the one you
are referencing the boost//library in. I can't recall exactly how to do this, but I think
it is something like:
using-project boost : $(BOOST_ROOT) ;
You could have:
alias boost : $(BOOST_ROOT) ;
and
exe test : [ glob *.cpp ] boost//thread ;
I believe that would work. Either way, I think you need $(BOOST_ROOT) somewhere
when you are not in a child of $(BOOST_ROOT).
- Reece
_________________________________________________________________
Try Live.com - your fast, personalized homepage with all the things you care about in one place.
http://www.live.com/getstarted
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