Boost logo

Boost-Build :

From: Ilya Sokolov (fal_delivery_at_[hidden])
Date: 2008-07-20 07:28:20


Jurko Gospodnetić wrote:
> Hi Ilya.
>
>>> Heh... low hanging fruit. :-) Seems like a real easy thing to add
>>
>> Your patch and a new ticket (194) makes me think it is not so easy
>
> Heh... yup, when I wrote that I hadn't thought about the 'allowed
> values' problem, but it really did not turn out to be difficult to add.
> It just has this 'one little quirk' :-))) that will be removed as soon
> as we upgrade Boost Build too allow something like specifying a rule for
> validating a feature's value.

That would be great for interface completeness.

>>> and it does make sense to allow the user to configure this.
>>
>> User can use <cxxflags>
>
> Yup, that is the workaround used at the moment (I saw it used in
> several Boost library test Jamfiles). And all this started by Joel
> asking whether there was a way to not have two -ftemplate-depth-X
> parameters on the command line when you override the 'default'
> template-depth value for a project.
>
> User can still use <cxxflags>... this is just an attempt to prepare a
> cleaner interface for configuring the template-depth option.

I think <cxxflags> is clear enough. There are many compiler/linker/*
options that could be made into bb features, and every such a feature
should be tested and documented.


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