3.1   Basic Procedure
   1.Get Boost; see sections 1 and 2 [Unix/Linux, Windows] of the Boost Getting Started Guide.
   2.Get the bjam build driver. See section 5 [Unix/Linux, Windows] of the Boost Getting Started Guide.
   3.cd into the libs/python/example/quickstart/ directory of your Boost installation, which contains a small example project.
   4.Invoke bjam. Replace the “stage“ argument from the example invocation from section 5 of the Getting Started Guide with “test,“ to build all the test targets. Also add the argument “--verbose-test” to see the output generated by the tests when they are run.
      On Windows, your bjam invocation might look something like:
      C:\boost_1_34_0\…\quickstart> bjam toolset=msvc --verbose-test test
      and on Unix variants, perhaps,
      ~/boost_1_34_0/…/quickstart$ bjam toolset=gcc --verbose-test test
 
Tuesday, April 21, 2009
Subscribe to:
Post Comments (Atom)
 

No comments:
Post a Comment