List Info

Thread: serialization library as dependency




serialization library as dependency
user name
2006-06-25 17:36:26
David Abrahams wrote:
> "Felipe Magno de Almeida"
<felipe.m.almeidagmail.com> 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/ge
tstarted
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )