wiki:TryModBoost

Version 6 (modified by Beman Dawes, 9 years ago) ( diff )

Updated git clone command line and added build warning

Experimenting with Modular Boost

Prerequisites

  • Git command line client installed
  • A C++ compiler installed

Installing Modular Boost

From the command line:

git clone --recursive http://github.com/boostorg/boost modular-boost
Warning: The build tools are not working as of the moment, so the remaining instructions on this page don't work yet.

From this point on, modularized Boost behaves a lot like pre-modularized Boost.

Experimenting

If you want to build b2 and Boost source libraries, run the usual command line script. For Windows, that would be:

bootstrap
.\b2

For POSIX-like systems, it is probably:

./bootstrap.sh
./b2

If b2 isn't already in your path, you probably want to add it now.

Testing is done just the way it has always been done. For example,

cd libs/system/test
b2

should run the tests for Boost.system, all of which should pass.

Note: See TracWiki for help on using the wiki.