2005-10-16 11:15:46 +02:00
|
|
|
import modules ;
|
|
|
|
|
|
|
|
BOOST_ROOT = [ modules.peek : BOOST_ROOT ] ;
|
|
|
|
|
2004-04-17 14:29:35 +02:00
|
|
|
use-project /torrent : .. ;
|
2007-07-07 23:27:36 +02:00
|
|
|
|
|
|
|
if $(BOOST_ROOT)
|
|
|
|
{
|
|
|
|
use-project /boost : $(BOOST_ROOT) ;
|
|
|
|
}
|
|
|
|
|
2005-08-15 00:04:58 +02:00
|
|
|
project client_test
|
2018-04-29 00:58:24 +02:00
|
|
|
: requirements
|
2007-06-13 03:48:24 +02:00
|
|
|
<threading>multi <library>/torrent//torrent
|
2015-09-02 07:30:40 +02:00
|
|
|
<toolset>darwin:<cflags>-Wno-unused-command-line-argument
|
2016-04-25 23:22:09 +02:00
|
|
|
# disable warning C4275: non DLL-interface classkey 'identifier' used as base for DLL-interface classkey 'identifier'
|
|
|
|
<toolset>msvc:<cflags>/wd4275
|
2018-11-16 16:19:12 +01:00
|
|
|
# C4268: 'identifier' : 'const' static/global data initialized
|
|
|
|
# with compiler generated default constructor fills the object with zeros
|
|
|
|
<toolset>msvc:<cflags>/wd4268
|
2019-02-15 22:06:47 +01:00
|
|
|
<toolset>msvc:<cflags>/wd4373
|
2007-06-13 03:48:24 +02:00
|
|
|
: default-build
|
|
|
|
<link>static
|
2018-04-29 00:58:24 +02:00
|
|
|
;
|
2004-02-21 12:52:21 +01:00
|
|
|
|
2014-07-09 00:37:13 +02:00
|
|
|
exe client_test : client_test.cpp print.cpp torrent_view.cpp session_view.cpp ;
|
2007-07-07 23:27:36 +02:00
|
|
|
|
2005-01-11 03:13:07 +01:00
|
|
|
exe simple_client : simple_client.cpp ;
|
2019-02-15 22:06:47 +01:00
|
|
|
exe custom_storage : custom_storage.cpp ;
|
2016-02-21 23:09:41 +01:00
|
|
|
exe bt-get : bt-get.cpp ;
|
|
|
|
exe bt-get2 : bt-get2.cpp ;
|
2014-07-06 21:18:00 +02:00
|
|
|
exe stats_counters : stats_counters.cpp ;
|
2005-01-11 03:13:07 +01:00
|
|
|
exe dump_torrent : dump_torrent.cpp ;
|
|
|
|
exe make_torrent : make_torrent.cpp ;
|
2010-01-12 02:56:48 +01:00
|
|
|
exe connection_tester : connection_tester.cpp ;
|
2010-09-30 09:13:19 +02:00
|
|
|
exe upnp_test : upnp_test.cpp ;
|
2004-10-10 02:42:48 +02:00
|
|
|
|
2014-07-06 21:18:00 +02:00
|
|
|
explicit stage_client_test ;
|
|
|
|
explicit stage_connection_tester ;
|
|
|
|
|
2013-09-10 07:48:38 +02:00
|
|
|
install stage_client_test : client_test : <location>. ;
|
|
|
|
install stage_connection_tester : connection_tester : <location>. ;
|
|
|
|
|