import modules ; BOOST_ROOT = [ modules.peek : BOOST_ROOT ] ; use-project /torrent : .. ; if $(BOOST_ROOT) { use-project /boost : $(BOOST_ROOT) ; } rule link_libtorrent ( properties * ) { local result ; if shared in $(properties) { result += /torrent//torrent/shared/shared ; } else { result += /torrent//torrent/static/static ; } return $(result) ; } project tools : requirements multi @link_libtorrent : default-build static ; exe fuzz_torrent : fuzz_torrent.cpp ; exe parse_hash_fails : parse_hash_fails.cpp ; exe parse_access_log : parse_access_log.cpp ; exe dht : dht_put.cpp : ../ed25519/src ; explicit parse_hash_fails ;