Boost logo

Boost-Build :

From: Pedro Ferreira (pedro.ferreira_at_[hidden])
Date: 2005-01-21 06:42:38


Em 21 Jan 2005, às 11:35, Vladimir Prus escreveu:

>>> Looks like the last variant. Each project will have a method to give
>>> a
>>> project
>>> by project id. So, global project id -> project mapping seems
>>> unnecessary.
>>
>> Ok but do you mean that the Manager object can own the targets
>> directly, without needing to separate them out using projects?
>> Then, the application or the parser would give the targets unique
>> identifiers, independently of the, say, Jamfile, where they are
>> defined?
>
> No, I think Project class is still needed. But I don't know what
> ProjectManager class will do. Will it simply have a list of all
> projects?

Ok. It needs at least to contain those projects, so we don't have
globals.
Projects could be given unique ids by the application, no matter how it
constructs them, and then ProjectManager would map those ids into the
corresponding object.

Pedro

 


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