premiere-libtorrent/tools/Jamfile

40 lines
735 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 +=
<library>/torrent//torrent/<link>shared/<boost-link>shared/<export-extra>on ;
}
else
{
result +=
<library>/torrent//torrent/<link>static/<boost-link>static/<export-extra>on ;
}
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
;
exe parse_hash_fails : parse_hash_fails.cpp ;
exe parse_request_log : parse_request_log.cpp ;
exe dht : dht_put.cpp : <include>../ed25519/src ;
2012-04-11 06:53:45 +02:00