Update the build guide with cxxstd

fix #1271
This commit is contained in:
Nikita Kniazev
2018-10-19 04:20:27 +03:00
committed by Vinnie Falco
parent 29e9ad5370
commit 1e03de3faf

View File

@ -117,12 +117,12 @@ libraries.
Instructions for doing so may be found on
the [Boost Wiki](https://github.com/boostorg/boost/wiki/Getting-Started).
These commands will build the programs and documentation that come
with Beast (omit the cxxflags parameter when building using MSVC):
with Beast:
```
cd boost # The directory containing the Boost superproject and libraries
b2 libs/beast/test cxxflags="-std=c++11" # bjam must be in your $PATH
b2 libs/beast/example cxxflags="-std=c++11"
b2 libs/beast/test cxxstd=11 # bjam must be in your $PATH
b2 libs/beast/example cxxstd=11
b2 libs/beast/doc
```