premiere-libtorrent/tools/Jamfile

40 lines
691 B
Plaintext
Raw Normal View History

2012-04-11 06:53:45 +02:00
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 <link>shared in $(properties)
{
result +=
2014-03-30 22:11:01 +02:00
<library>/torrent//torrent/<link>shared/<boost-link>shared ;
}
else
{
result +=
2014-03-30 22:11:01 +02:00
<library>/torrent//torrent/<link>static/<boost-link>static ;
}
return $(result) ;
}
2012-04-11 06:53:45 +02:00
project tools
: requirements
<threading>multi
<conditional>@link_libtorrent
2012-04-11 06:53:45 +02:00
: default-build
<link>static
;
2015-01-28 05:39:20 +01:00
exe fuzz_torrent : fuzz_torrent.cpp ;
2014-07-06 21:18:00 +02:00
exe parse_access_log : parse_access_log.cpp ;
exe dht : dht_put.cpp : <include>../ed25519/src ;
2012-04-11 06:53:45 +02:00