Boost logo

Boost-Build :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2008-07-30 07:41:03


Ilya Sokolov wrote:

[...]

> Why not use <cxxflags> instead of <c++-template-depth> as the value is
> toolset-dependent anyway?

Are you questioning the wisdom of the existence of the <c++-template-depth>
feature itself?

A real big advantage is that its existence allows to write

  foo.cxx : : : <c++-template-depth>bar ;

instead of

  foo.cxx : : : <toolset>gcc:<cxxflags>-ftemplate-depth-bar
                 <toolset>qcc:<cxxflags>-ftemplate-depth-bar
                 <toolset>cxx:<cxxflags>"-pending_instantiations bar"
                 <toolset>acc:<cxxflags>"whatever"
                 ... ;

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