From: Vladimir Prus (ghost_at_[hidden])
Date: 2002-10-17 06:25:06
Markus Schöpflin wrote:
> User defined features would be a nice thing, I think. Something like
> exe foo : foo.cpp : <oracle-link>static ;
> and <oracle-link> is a feature defined by me somewhere else.
Even now, users can define new features, for example
feature.feature oracle-link : static shared ;
feature.rule oracle-link : oracle-link-properties ;
rule oracle-link-properties ( p )
# return 15 additional features, depenging on the property
Here, 'oracle-link-properties' will be called either with
<oracle-link>static or <oracle-link>dynamic and can add extra properties
for building main target, depending on that.
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