Boost logo

Boost-Build :

Subject: [Boost-build] How to access features propagated by <use>
From: Deniz Bahadir (D.Bahadir_at_[hidden])
Date: 2009-11-30 09:50:23

Hi again,

I would like to parse the requirements-list for a lib-rule and only
propagate some selected requirement features.

Therefore I created a wrapper-rule around the lib-rule from which I
can access the requirement-list and parse it. I only want to hand over
"<define>"-features. However, indirectly given defines, which are
propagated via the <use>-feature, I want to forward, too.
So, is there a way to get the feature-list propagated by the <use>-feature?

I was trying "feature.expand" and some similar rules from module
"feature", but this does not do the trick.

Any suggestions?


PS: This is used for a workaround because of the cyclic-dependency
problem I wrote about in my last email. I do not want my libraries to
depend on other libraries when being build, because the dependency is
only important when linking an executable. However, they need some
defines propagated by the other libraries.

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at