Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2002-08-09 09:36:26


From: "Vladimir Prus" <ghost_at_[hidden]>

> David Abrahams wrote:
> > ----- Original Message -----
> > From: "Vladimir Prus" <ghost_at_[hidden]>
> >
> > > > Hmm, "exectuted" properties anyone?
> > >
> > > Yea, except with a somewhat different semantics and the fact that you
can
> > > have both executed features (i.e. a rule handles every value of
feature)
> >
> > and
> >
> > > executed properties (i.e. rule handles a particular feature, value
pair).
> > >
>
> > > > What was the motivation for shoving all of this functionality into
> > > > generators in the first place?
> > >
> > > You've proposed it as a way to handle stlport. I don't remember any
other
> > > motivation.
> >
> > It certainly sounds like a massive simplification to generators. I
never
> > liked the idea of introducing the orthogonal "generator categories". It
> > always felt like a hack to me.
>
> Okay, I hope to find a couple of hours this weekend to implement active
> features/properties. I think I won't make it another feature attribute,
but
> rather make a new
>
> feature.activate ( property : rule )
>
> rule

So you can pile on as many rules as you like for any given property?
I like that.

I think I might prefer:

feature.action ( property : rule )

so you write:

feature.action <stdlib>stlport : add-stlport-paths ;

-Dave

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