import os ; if ! [ os.environ BOOST_ROOT ] { exit "Error: Set BOOST_ROOT environment variable to Boost root directory" ; } local BOOST_ROOT = [ os.environ BOOST_ROOT ] ; echo "Using Boost libraries from:" $(BOOST_ROOT) ; use-project boost : $(BOOST_ROOT) ; project : requirements gcc:-std=c++11 clang:-std=c++11 "./include" $(BOOST_ROOT) $(BOOST_ROOT)/stage/lib ; echo """ EXAMPLES Parse specified file using to bin/.../-pp.ii: $ bjam [-a] -pp [cxxflags=-UDEBUG] [toolset=msvc|gcc|clang] Parse specified file to ./pp.cpp (and ./pp.dbg, see also /wave.cfg): $ wave Compile and run program .cpp: $ bjam [-a] [toolset=msvc|gcc|clang] Compile and run all programs in current directory: $ bjam [-a] [toolset=msvc|gcc|clang] """ ;