Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.

tools/build/v2/test/v1_testing/Jamfile

TOOLS = $(TOOLS[1]) ;
project-root ;

# bring in rules for testing
import testing ;

lib mylib : lib.cpp ;

compile foo.cpp : : compile ;
compile-fail foo.cpp : <define>NOCOMPILE : nocompile ;

link foo.cpp <lib>mylib : : link ;
link-fail foo.cpp  <lib>mylib : <define>NOLINK : nolink ;

run foo.cpp  <lib>mylib
  : # args
  : # input-files
  : <define>RUN
  : run ;