Spirit 1.8.4 with miniboost (Boost V1.33.1)

This package comes bundled with miniboost (Boost V1.33.1): a re-packaged minimal subset of boost; just enough to use Spirit.

Running the tests

The testsuite can be executed by using the Boost.Build system as described on the Boost pages: http://www.boost.org.

For example, using MSVC 7.1:

  1. Download a prebuilt executable of bjam.exe. Put it somewhere in your path.
  2. With the latest Boost Build, you don't have to configure the tool if you installed VC7.1 in the default location.
  3. Change (CD) the directory to libs/spirit/test.
  4. Call bjam:

    bjam -sTOOLS=vc-7_1 test

Note: Some compilers may not be able to compile all of the tests and examples.

Using the library

There are no libraries to build, Spirit is a header-only library. Simply point your compiler's include path to the spirit directory. The library is under the boost subdirectory

Building the examples

The examples can be built by using the Boost.Build system as described on the Boost pages: http://www.boost.org.

For example, using MSVC 7.1, follow the instructions above (Running the tests) except 6. CD to libs/spirit/example instead.

Notes

Phoenix

Phoenix is a stand alone library that comes bundled in this distribution. If you wish to build the examples and run the testsuites for this library, the process is similar to what was outlined above. For example, using MSVC 7.1, follow the instructions above (Running the tests) except 6. CD to the appropriate test or example directory instead.

What's new

Please have a look at the changelog here to see what's new and what bugs have been fixed.