|
Boost-Build : |
From: David Abrahams (dave_at_[hidden])
Date: 2002-10-14 08:25:19
Vladimir Prus <ghost_at_[hidden]> writes:
> David Abrahams wrote:
>
> >>Then next step is to review how abstract targets are creates and
> >>used. The 'targets.jam' file contains a class 'abstract-target',
> >>with two important methods: 'generate' and 'direct-build-request'.
> >
> >
> > I'm looking at that. The comment on 'generate' says:
> >
> > If 'properties' are not specified, default values are used.
>
> FWIW, you've a outdated copy. This comment was reworded a little.
No, I don't think so, unless you didn't check something in. It still
says exactly that.
> > Does that mean
> >
> > Default values are used for any non-free non-optional features for
> > which values are not specified
> >
> > or
> >
> > If 'properties' is the empty list, default values are used
> >
> > or something else?
>
> The actual meaning is: "when properties are empty or have only <toolset>
> value, then use default-build to find the set of properties".
Then it should say that... except that default-build isn't part of the
abstract-target specification, and is /only/ used in the derived
classes. It would be good to clear that up.
-- David Abrahams * Boost Consulting dave_at_[hidden] * http://www.boost-consulting.com
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