premiere-libtorrent/Jamfile

89 lines
1.3 KiB
Plaintext
Executable File

import modules ;
BOOST_ROOT = [ modules.peek : BOOST_ROOT ] ;
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 ;
project torrent
: requirements
<use>/boost/thread
<use>/boost/date_time
<use>/boost/filesystem
<library>/boost/thread
<library>/boost/date_time
<library>/boost/filesystem
: usage-requirements
<use>/boost/thread
<use>/boost/date_time
<use>/boost/filesystem
<include>./include
<include>$(BOOST_ROOT)
# devstudio switches
<cxxflags>/Zc:wchar_t
<cxxflags>/D"WIN32"
# gcc switches
# <cxxflags>-Wno-unused-variable
;
SOURCES =
alert.cpp
entry.cpp
identify_client.cpp
peer_connection.cpp
piece_picker.cpp
policy.cpp
session.cpp
stat.cpp
storage.cpp
torrent.cpp
torrent_handle.cpp
torrent_info.cpp
tracker_manager.cpp
http_tracker_connection.cpp
udp_tracker_connection.cpp
sha1.c
# unix versions
# socket_bsd.cpp
# file.cpp
# windows versions
socket_win.cpp
file_win.cpp
;
lib torrent
:
zlib//zlib
src/$(SOURCES)
: <include>./include
<threading>multi
<link>static
: debug release
;
exe client_test
: examples/client_test.cpp
torrent
:
: debug release
;