Boost logo

Boost-Build :

From: vladimir_prus (ghost_at_[hidden])
Date: 2002-08-21 09:20:50


--- In jamboost_at_y..., "David Abrahams" <dave_at_b...> wrote:
> From: "Vladimir Prus" <ghost_at_c...>
> > Hmm.. in
> >
> https://sourceforge.net/tracker/index.php?
func=detail&aid=515770&group_id=7
> 586&atid=445591
> > you talk about "projects as abstract target" yourself
> > "project target" is an abstract target which corresponds to a
project.
>
> You don't think I can remember everything I write, do you <wink>?
> I think that if property refinement fails for any "directly-
requested" main
> target, it should be skipped with a warning. By "directly
requested" I
> meant to exclude targets which are only built by virtue of the fact
that
> they're dependencies of other targets.

Agree with this.

> > > > Your wording is better, except that I don't
> > > > "Upon startup, bjam searches for a file called "boost-
build.jam","
> > > > as the first phrase. Reader is left wondering why all the
actions are
> > > > performed, and is never explicitly told that. I
think "attempts to
> find
> > >
> > > the
> > >
> > > > location of build system files" should be retained in some
form.
> > >
> > > But it doesn't attempt to find the build system files.. It
attempts to
> find
> > > boost-build.jam, which is expected to /specify/ the location of
the
> build
> > > system files.
> >
> > Well, then it tried to determine the location of build system
file. The
> whole
> > point of "boost-build.jam" is to specify location, and so bjam
tries to
> find
> > the location by means of the file, not tries to finds it just for
itself.
>
> Okay, how about:
>
> "bjam's first job upon startup is to load the Jam code which
implements
> the build system. To do this, it searches..." etc...

I'd prefer "bjam's first job upon startup is to locate and load..."

> > > Okay, I see what you mean, but the docs don't communicate it.
> >
> > I'm afraid I don't know how to reword it now.
>
> You have to find a way, I think. The examples you posted (which I
snipped)
> would help a lot.

Not sure I'll be able to do it until I'm back.

> > > I guess I don't understand your question. Examples of what you
mean
> might
> > > help.
> >
> > Say you have project-root.jam in /tmp/X and jamfiles in /tmp/X and
> /tmp/X/lib.
> > It is possible to say that there's project "/tmp/X"
and "/tmp/X/lib".
> What's
> > project-root then. I think it means the same as "root of a
project".
> Okay,
> > but is it correct to say that "/tmp/X" is root of the project
> "/tmp/X/lib"?
>
> I guess I would say that tmp/X/lib is a subproject of tmp/X by
virtue of
> the existence of project-root.jam in a parent directory.

This does not tell what "project-root" is, still.

- 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