Boost logo

Boost-Build :

Subject: Re: [Boost-build] howto define my own toolset
From: Gevorg Voskanyan (gevbsd_at_[hidden])
Date: 2015-10-22 16:25:08

On 09/29/15 00:04, Vladimir Prus wrote:
> You'd have to encode that information inside the version, like:
> using gcc : 5.2-cpp11 ;
> Though, why would not use features for that? E.g.:
> feature std : optional composite : cxx11 ;
> feature.compose : <std>cxx11 : <cxxflags>whatever ;
> ?
> We probably need to add such feature in the base system.

Having a built-in <std> feature would be really helpful, especially as
implementing it as a composite feature is tricky to do correctly. The
exact flag to put in place of "whatever" above varies between toolsets,
and can also be version-sensitive. Conditional properties aren't
supported when defining composite features. I think indirect conditional
properties aren't supported there either, though I'm not as sure about
that one as I can't remember it 100% off the top of my head.

My 2c,

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