|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2002-07-05 10:40:18
David Abrahams wrote:
> > If I use another project, like boost, it would like its project-root.jam
>
> to
>
> > define all project id in it, and we should use jamfile-location for that:
> >
> > project boost/theads : jamfile-location libs/thread.... ;
> > project boost/python : jamfile-location ..... ;
> >
> > Alternatively, we can have a third rule: export-project :
> >
> > export-project boost/threads : libs/thread/....
> >
> > I'm not sure which of the variants is better -- they're functionally the
> > same. I also think that jamfile in the given location should be loaded,
>
> so
>
> > that targets defined there be available.
>
> It seems like use-project can serve all of these purposes
>
> use-project boost/threads : libs/thread/build ;
> use-project boost/python : libs/python/build ;
>
> I don't see why not (?)
Hmm... agreed. I feel that we'd need to carefully document the "use-project"
rule, but it will work.
- Volodya
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