Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2002-10-14 09:13:22


David Abrahams wrote:
> 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.

Ah... there are two places when that comment talks about absense of
properties. The first one is obsolete and should be removed.

>>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.

Maybe, "when.... then the target is build with one or several "default"
property sets. Each of them includes the <toolset> feature's value, if
specifed. Those defaults are defined by derived classes."?

- 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