premiere-libtorrent/bindings/c/Jamfile

39 lines
646 B
Plaintext
Executable File

use-project /torrent : ../.. ;
rule libtorrent_linking ( properties * )
{
local result ;
if <toolset>gcc in $(properties) && <link>shared in $(properties)
{
result += <fpic>on ;
}
# if <toolset>gcc in $(properties) || <toolset>darwin in $(properties)
# {
# result += <visibility>hidden ;
# }
return $(result) ;
}
lib torrentc
: # sources
library.cpp
: # requirements
<conditional>@libtorrent_linking
<library>/torrent//torrent/<link>static
<include>.
: # default build
<link>static
: # usage-requirements
<include>.
;
exe simple_client : simple_client.c torrentc ;