premiere-libtorrent/Jamfile

97 lines
1.5 KiB
Plaintext
Raw Normal View History

2004-02-18 01:08:20 +01:00
#This Jamfile requires boost-build v2 to build.
2004-02-04 21:20:53 +01:00
import modules ;
2004-02-21 12:52:21 +01:00
import os ;
2004-02-04 21:20:53 +01:00
BOOST_ROOT = [ modules.peek : BOOST_ROOT ] ;
2004-02-08 17:04:50 +01:00
use-project /boost/thread : $(BOOST_ROOT)/libs/thread/build ;
use-project /boost/filesystem : $(BOOST_ROOT)/libs/filesystem/build ;
use-project /boost/date_time : $(BOOST_ROOT)/libs/date_time/build ;
2004-02-04 21:20:53 +01:00
2004-02-04 12:00:29 +01:00
project torrent
2004-02-04 21:20:53 +01:00
: requirements
<use>/boost/thread
<use>/boost/date_time
<use>/boost/filesystem
2004-02-04 21:20:53 +01:00
<library>/boost/thread
<library>/boost/date_time
<library>/boost/filesystem
2004-02-04 21:20:53 +01:00
: usage-requirements
<include>./include
<include>$(BOOST_ROOT)
<variant>release:<define>NDEBUG
2004-02-04 12:00:29 +01:00
2004-02-08 17:04:50 +01:00
# devstudio switches
2004-02-04 12:00:29 +01:00
<toolset>msvc-7:<cxxflags>/Zc:wchar_t
<toolset>msvc-7.1:<cxxflags>/Zc:wchar_t
<toolset>msvc:<define>WIN32
2004-02-04 21:20:53 +01:00
2004-02-08 17:04:50 +01:00
# gcc switches
<toolset>gcc:<cxxflags>-Wno-unused-variable
2004-02-08 17:04:50 +01:00
2004-02-04 12:00:29 +01:00
;
SOURCES =
2004-02-18 01:08:20 +01:00
allocate_resources.cpp
2004-02-08 17:04:50 +01:00
alert.cpp
entry.cpp
2003-12-22 08:14:35 +01:00
identify_client.cpp
peer_connection.cpp
piece_picker.cpp
policy.cpp
session.cpp
stat.cpp
storage.cpp
torrent.cpp
2003-10-30 00:28:09 +01:00
torrent_handle.cpp
torrent_info.cpp
2004-02-01 11:32:40 +01:00
tracker_manager.cpp
http_tracker_connection.cpp
udp_tracker_connection.cpp
sha1.c
2004-02-21 12:52:21 +01:00
;
2004-02-08 17:04:50 +01:00
2004-02-21 12:52:21 +01:00
# use different versions of some files for
# windows
2004-02-08 17:04:50 +01:00
2004-02-21 12:52:21 +01:00
if [ modules.peek : NT ]
{
SOURCES += socket_win.cpp ;
}
else
{
SOURCES += socket_bsd.cpp ;
}
2004-02-08 17:04:50 +01:00
2004-02-21 12:52:21 +01:00
if [ modules.peek : NT ] && toolset != msvc-6
{
SOURCES += file_win.cpp ;
}
else
{
SOURCES += file.cpp ;
}
2003-12-21 18:28:27 +01:00
lib torrent
2004-02-04 12:00:29 +01:00
:
zlib//zlib
src/$(SOURCES)
:
<include>./include
<threading>multi
<link>static
: debug release
;