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 "Build Boost.Contract's source, tests, examples, documentation, etc." ; echo "Using Boost libraries from (see $BOOST_ROOT): $(BOOST_ROOT)" ; echo ; echo """Usage: Build all (-a), quit on first error (-q), using MSVC, GCC, and CLANG: $ bjam -aq toolset=msvc,gcc,clang ... Clock how long the build takes: $ time bjam ... """ ; use-project boost : $(BOOST_ROOT) ; project : requirements gcc:-std=c++11 clang:-std=c++11 "./include" $(BOOST_ROOT) $(BOOST_ROOT)/stage/lib ;