Boost logo

Boost-Build :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2008-07-30 06:57:28


Ilya Sokolov wrote:
> Jurko Gospodnetić wrote:
>> [snip]
>>
>> The problem here is that the Boost Build toolset.flags rule does not
>> allow specifying flag values that consist fixed text values with
>> embeded values read from the related property value. To achieve what
>> you want look at how the gcc and qcc toolset do it. They add a
>> separate flag
>> whose value is just the property value and when they use it in an
>> action they prepend what is needed to it.
>>
>> In your case you'll most likely need something like this:
>>
>> toolset.flags hp_cxxcompile.c++ TEMPLATE_DEPTH <c++-template-depth> ;
>> feature.set-default c++-template-depth : 64 ;
>
> The last line will override default value for all configured toolsets (.

So the default doesn't belong into the toolset files but somewhere else,
probably where the feature is defined?

Why not leave out the default completely?

Markus


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