wiki:TryModBoost

Version 3 (modified by Beman Dawes, 10 years ago) ( diff )

Tweak wording

Experimenting with Modular Boost

Some details of the procedure described below will likely change between now and the actual conversion.

Prerequisites

  • Git command line client installed
  • A C++ compiler installed
  • CMake installed. The plan is to eliminate this prerequisite before the actual conversion.

Installing Modular Boost

From the command line:

git clone http://github.com/boost-lib/boost modular-boost
cd modular-boost
git submodule update --init
cmake -P forward_headers.cmake

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.