Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2004-11-30 16:47:42


Vladimir Prus wrote:

> We need to decide if explicit rule provided by user, or more declarative
> mechanism is better.
>
> There are two questions:
> 1. Lazy or eager. The subprojects can be lazy loaded -- they are loaded only
> when needed by other projects. The top-level project just maps project ids
> into directory locations. In eager mode, all subprojects are found and loaded
> automatically. I think lazy is better for performance reasons.

Agreed. And I see no disadvantages, do you?

> 2. User rule or declarative mechanism. In first, user provides a rules which
> maps ids to locations. In second, he describes the mapping is some other
> terms. I think user rules is simpler, and declarative mapping can be
> implemented by injecting the rule, so maybe we should initially allow only
> user-defined rule.

That's okay with me.

I seem to have some memory that I agreed to write the new documentation
for this feature so you could implement it, but I can't find any record
of it in the archives (?)

-- 
Dave Abrahams
Boost Consulting
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