Boost logo

Boost-Build :

From: Ali Azarbayejani (ali_at_[hidden])
Date: 2003-06-18 09:33:36


Vladimir Prus wrote:
> David Abrahams wrote:
>
>
>>>My reservation about MetaTarget is that I don't know how to call
>>>project-spec and file-spec if main-target-spec is renamed to MetaTarget.
>>
>>Project and File?
>
>
> But they all are derived from a common base. How would you call it?

Keep in mind that Project and File ARE targets. Of course, Project
doesn't have to be either (as in the current implementation, i.e.
projects are not "actualized" into Jam targets).

What we might really have here is

Project (not a Target)
FileMetaTarget (cf. MainTarget) (not a Target)
FileTarget <- Target
AliasTarget <- Target
etc...

This is actually similar to the current implementation except

o no "abstract-target" heirarchy
o no "basic-target" for alternatives
o "project" and "project-target" a single class
o "virtual-target" = "Target"
o build an explicit graph of Target rather than pass around lists of
"virtual-target"
o ...

 


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