The project contains a Boost.Build project intended to test language standard support of any Boost.Build toolset. To do this, it attempts to build components of generated C, C++, Objective-C, and Objective-C++ programs for all possible language standard values.
Running the following command will run all tests against the default compiler.
$ b2
To see a printout of the standard predefined preprocessor macros, add
--verbose-test
to the command line:
$ b2 --verbose-test
To build against the gcc
and clang
toolsets, run the following
command.
$ b2 --verbose-test \
toolset=gcc
toolset=clang
- Boost.Build
- All desired compilers