premiere-libtorrent/bindings/python/Jamfile

66 lines
1.6 KiB
Plaintext
Raw Normal View History

2007-01-10 17:11:43 +01:00
import python ;
2007-06-13 06:22:06 +02:00
use-project /torrent : ../.. ;
lib boost_python : : <name>boost_python-mt $(library-search-path) ;
rule libtorrent_linking ( properties * )
{
local result ;
if <toolset>gcc in $(properties)
{
result += <fpic>on ;
}
if <toolset>gcc in $(properties) || <toolset>darwin in $(properties)
{
result += <visibility>hidden ;
}
# when building peer_plugin.cpp on msvc-7.1 it fails
# running out of internal heap space. Don't add it
# to windows build, since it's not critical anyway
if <toolset>msvc in $(properties)
{
result += <define>TORRENT_NO_PYTHON_PLUGINS ;
}
else
{
result += <source>src/peer_plugin.cpp ;
}
return $(result) ;
}
2007-01-10 17:11:43 +01:00
python-extension libtorrent
: src/module.cpp
src/big_number.cpp
src/converters.cpp
src/create_torrent.cpp
2007-01-10 17:11:43 +01:00
src/fingerprint.cpp
src/utility.cpp
src/session.cpp
src/entry.cpp
src/torrent_info.cpp
src/filesystem.cpp
src/torrent_handle.cpp
src/torrent_status.cpp
src/session_settings.cpp
src/version.cpp
src/alert.cpp
src/datetime.cpp
src/extensions.cpp
src/docstrings.cpp
src/torrent.cpp
src/peer_info.cpp
2008-02-17 22:17:43 +01:00
src/ip_filter.cpp
2008-10-02 07:00:40 +02:00
src/magnet_uri.cpp
2007-01-10 17:11:43 +01:00
: <include>src
<library>/torrent//torrent/<link>static
2008-05-15 08:49:38 +02:00
<boost>system:<library>boost_python
<boost>source,<boost-link>static:<library>/boost/python//boost_python/<link>static
<boost>source,<boost-link>shared:<library>/boost/python//boost_python/<link>shared
<conditional>@libtorrent_linking
2007-01-10 17:11:43 +01:00
;