|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2002-02-08 04:09:01
Rene Rivera wrote:
> On 2002-02-07 at 02:37 PM, ghost_at_[hidden] (Vladimir Prus) wrote:
> >When loading a Jamfile, it is needed to load project-root.jam first.
> > Unless I'm mistaken, the current opinion is that we should not require
> > Jamfile to declare its location, but to use crawl-up to find everything.
> > However, there's a problem -- we can't locate a file without including
> > it. It will result in project-root.jam to be included once for each
> > Jamfile, and I don't like that idea. In order to locate project-root.jam
> > without including it, Glob building can be used, once we have it.
> >
> >Is my understanding correct? If so, probably I can try to grab Glob from
> > 2.4.
>
> I don't see how we would try to include it more than once. If it only gets
> included by Jambase how else would it get in?
We can have multiple projects involved in a build. Consider:
<lib>libs/big_library/piece
Corresponding Jamfile need to be included, but before that, you'll need to
include project-root.jam for that Jamfile, which can be different from
project-root.jam from the current Jamfile. Therefore, there's a need to
search for project-root.jam during Jamfile loading.
- 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