premiere-libtorrent/Jamfile

83 lines
1.3 KiB
Plaintext
Executable File

import modules ;
BOOST_ROOT = [ modules.peek : BOOST_ROOT ] ;
ECHO $(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 fixes
<cxxflags>/Zc:wchar_t
<cxxflags>/D"WIN32"
;
SOURCES =
entry.cpp
identify_client.cpp
peer_connection.cpp
piece_picker.cpp
policy.cpp
session.cpp
socket_win.cpp
stat.cpp
storage.cpp
torrent.cpp
torrent_handle.cpp
torrent_info.cpp
tracker_manager.cpp
http_tracker_connection.cpp
udp_tracker_connection.cpp
file_win.cpp
sha1.c
;
lib torrent
:
# /boost/filesystem
# /boost/thread
# /boost/date_time
zlib//zlib
src/$(SOURCES)
: <include>./include
<threading>multi
<link>static
: debug release
;
exe client_test
: examples/client_test.cpp
torrent
:
# <sysinclude>$(BOOST_ROOT)
<threading>multi
: debug release
;