import modules ; import package ; path-constant URDL_ROOT : . ; BOOST_ROOT = [ modules.peek : BOOST_ROOT ] ; if $(BOOST_ROOT) { use-project /boost : $(BOOST_ROOT) ; } rule handle-static-runtime ( properties * ) { if shared in $(properties) && static in $(properties) { return no ; } } project : build-dir build/bin : requirements multi @handle-static-runtime : default-build debug release multi shared static shared static ; install lib : build : lib LIB ; local patterns = *.hpp *.ipp ; local dirs = include/urdl include/urdl/* ; package.install install : include : : build : [ glob $(dirs)/$(patterns) ] ;