import os ; import errors ; import option ; import path ; project test : requirements <link>static <toolset>gcc:<cxxflags>-std=c++0x ; path-constant test-root : . ; # # Import the boost project # local boost-major = 1 ; local boost-minor = 49 ; local boost-patch = 0 ; local boost-root ; boost-root ?= [ option.get boost-root ] ; boost-root ?= [ os.environ BOOST_ROOT ] ; if ! $(boost-root) { boost-root = [ path.join $(test-root) ../boost_$(boost-major)_$(boost-minor)_$(boost-patch) ] ; } use-project boost : $(boost-root) ; # # Build # exe test : main.cpp messagecpp tcp_listener.cpp tcp_sender.cpp ; install install : test ;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)