Search code examples
c++windowsboostbjam

How do I build boost examples with bjam?


Boost library is full of examples and tests and I would like to build them using bjam if possible.

How do I build boost examples with bjam?

PS. I wasn't able to locate proper documentation for this option.


Solution

  • It depends on the library. Most of them run the examples from the test directory. Others from the example directory.

    Go to the lib test or example directory where there is a Jamfile and do just

    bjam