Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-08-16 01:33:05


David Abrahams wrote:
> I just ran across this comment in tools/stlport.jam:
>
> # The problem: how to request to use host compiler's iostreams?
> #
> # Solution 1: Global 'stlport-iostream' feature.
> # That's ugly. Subfeature make more sense for stlport-specific thing.
> # Solution 2: Use subfeature with two values, one of which ("use STLPort
> iostream") # is default.
> # The problem is that such subfeature will appear in target paths, and
> that's ugly # Solution 3: Use optional subfeature with only one value.
>
> I find this really strange, since default values of features and
> subfeatures are *not* supposed to show up in target paths. It seems
> like Solution 2 should work just fine, unless the subfeature is
> "symmetric".

I'm not 100% about the comment, but I think that that subfeatures don't have
default values at all.

- Volodya

 


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