Boost logo

Boost-Build :

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


Jurko Gospodnetić wrote:

[...]

> 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 ;
>
> actions compile.c++
> {
> $(CONFIG_COMMAND) -x cxx -c -std strict_ansi -nopure_cname
> -noimplicit_include -timplicit_local -ptr "$(<[1]:D)/cxx_repository"
> $(OPTIONS) "-pending_instantiations "$(TEMPLATE_DEPTH) -D$(DEFINES)
> -I"$(INCLUDES)" -o "$(<)" "$(>)"
> }

Won't that expand to '-pending_instantiations' (instead of nothing) when
TEMPLATE_DEPTH is empty?

>> And could we please change the first range of allowed feature values
>> to include 64 with a stepping of 64? Because 64 is the default value
>> for both acc and cxx.
>
> I'll update the predefined value range to include multiples of 64 up
> to 1024. Until then you can easily extend the range where you need to
> using the feature.extend rule.

Thank you.

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