Boost logo

Boost-Build :

Subject: Re: [Boost-build] adding tests conditional on compiler's C++11 support
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2016-09-28 15:18:54


On 09/28/2016 12:34 PM, Stefan Seefeld wrote:
> what is the way to add a set of tests to my (Boost.Python)
> test suite only if the given compiler supports C++11 ? To break that
> down into two questions:
> * Is there a Boost.Build flag I can check for that indicates whether the
> current compiler supports C++11 ?
> * How can I conditionalize the adding of tests to my test suite based on
> that flag ?

Try using config.requires:

In Christ,
Steven Watanabe

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at