Boost logo

Boost-Build :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-07-05 02:14:22


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

> I now realize that you probably mean that defalt value of every feature
which
> is not symmentic should be included in every declared variant? Oh, then I
> understand everything!!!

Yeah, there will be a rule to declare variants which takes care of this.

> > Optional features should be accounted for after build-request.expand, I
> > think. Once the build-request is expanded, we then look at all
non-optional
> > features and stick in default values if they're not represented in the
> > build.
>
> Yes, you are right. Can you implement it?

Done. See feature.add-defaults.

> I guess it should be some new rule
> like "apply-defaults" which should be called after calling
> "build-request.expand" in build-system.jam.

Cheers,
Dave

 


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