1import modules ; 2 3BOOST_ROOT = [ modules.peek : BOOST_ROOT ] ; 4 5use-project /torrent : .. ; 6 7if $(BOOST_ROOT) 8{ 9 use-project /boost : $(BOOST_ROOT) ; 10} 11 12variant debug-mode : debug : <asserts>on <debug-iterators>on <invariant-checks>full ; 13 14project client_test 15 : requirements 16 <threading>multi <library>/torrent//torrent 17 <toolset>darwin:<cflags>-Wno-unused-command-line-argument 18# disable warning C4275: non DLL-interface classkey 'identifier' used as base for DLL-interface classkey 'identifier' 19 <toolset>msvc:<cflags>/wd4275 20 # C4268: 'identifier' : 'const' static/global data initialized 21 # with compiler generated default constructor fills the object with zeros 22 <toolset>msvc:<cflags>/wd4268 23 <toolset>msvc:<cflags>/wd4373 24 : default-build 25 <link>static 26 <variant>debug-mode 27 ; 28 29exe client_test : client_test.cpp print.cpp torrent_view.cpp session_view.cpp ; 30 31exe simple_client : simple_client.cpp ; 32exe custom_storage : custom_storage.cpp ; 33exe bt-get : bt-get.cpp ; 34exe bt-get2 : bt-get2.cpp ; 35exe stats_counters : stats_counters.cpp ; 36exe dump_torrent : dump_torrent.cpp ; 37exe make_torrent : make_torrent.cpp ; 38exe connection_tester : connection_tester.cpp ; 39exe upnp_test : upnp_test.cpp ; 40 41explicit stage_client_test ; 42explicit stage_connection_tester ; 43explicit stage ; 44 45install stage : client_test connection_tester make_torrent dump_torrent upnp_test stats_counters bt-get bt-get2 simple_client : <location>. ; 46install stage_client_test : client_test : <location>. ; 47install stage_connection_tester : connection_tester : <location>. ; 48 49