33 lines
675 B
Plaintext
33 lines
675 B
Plaintext
import modules ;
|
|
|
|
BOOST_ROOT = [ modules.peek : BOOST_ROOT ] ;
|
|
|
|
use-project /torrent : .. ;
|
|
|
|
if $(BOOST_ROOT)
|
|
{
|
|
use-project /boost : $(BOOST_ROOT) ;
|
|
}
|
|
|
|
lib program-options : : <name>boost_program_options ;
|
|
lib regex : : <name>boost_regex ;
|
|
|
|
project client_test
|
|
: requirements
|
|
<threading>multi <library>/torrent//torrent
|
|
: default-build
|
|
<link>static
|
|
;
|
|
|
|
exe client_test : client_test.cpp
|
|
: <boost>source:<library>/boost/program_options
|
|
<boost>source:<library>/boost/regex
|
|
<boost>system:<library>program-options
|
|
<boost>system:<library>regex
|
|
;
|
|
|
|
exe simple_client : simple_client.cpp ;
|
|
exe dump_torrent : dump_torrent.cpp ;
|
|
exe make_torrent : make_torrent.cpp ;
|
|
|