29 Oct
2017
29 Oct
'17
11:58 a.m.
Andrey Semashev wrote:
On 10/26/17 19:43, Peter Dimov via Boost wrote:
On a not entirely unrelated note, Rene Rivera has added a new feature <cxxstd> to Boost.Build that controls the C++ standard in use. So for instance, instead of the old
b2 libs/mylib/test toolset=gcc cxxflags=-std=c++11
one can now use
b2 libs/mylib/test toolset=gcc cxxstd=11
Sounds great. Does it always expand to c++XX or is there a way to specify gnu++XX?
gnu++XX can be requested with `cxxstd=XX cxxstd-dialect=gnu`.