wiki:TryModBoost

Version 5 (modified by Dave Abrahams, 10 years ago) ( diff )

--

Experimenting with Modular Boost

These instructions are presently out-of-date. We'll update them when we have a new "super-project" repository under http://github.com/boostorg/. Until then, if you have questions, please post to the ryppl-dev list.

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/boostorg/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.