Boost logo

Boost-Build :

Subject: Re: [Boost-build] cxxflags depending on tooslet and version?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-03-29 14:22:15


AMDG

On 03/29/2012 10:10 AM, Oliver Kowalke wrote:
>
> Hmm - maybe following would be a better solution:
> I declare an additional property <splitstack> in my Jamfile - per
> default it is disabled (value 'false').
> If the user declares 'bjam splitstack=true' on command line - I'll
> define an pre-processor macro BOOST_USE_SPLITSTACK and enable code using
> split stacks.
> If the gcc does not provide the splitstack feature the user gets linker
> errors - so he is responsible for that failure.
>

Or use

feature.feature splitstack : on : optional ;
[ configure.check-target-builds
  has_splitstack : <splitstack>on ]

Where has_splitstack builds iff splitstack is available.

In Christ,
Steven Watanabe


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