-
Notifications
You must be signed in to change notification settings - Fork 69
/
Jamfile
46 lines (36 loc) · 1.06 KB
/
Jamfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import feature : feature ;
lib boost-system : : <target-os>darwin <name>boost_system-mt <search>/opt/local/lib : : <include>/opt/local/include ;
lib boost-system : : <name>boost_system ;
feature client_stats : off on : composite propagated ;
feature.compose <client_stats>on : <define>CLIENTS_STAT=1 ;
feature debug_stats : off on : composite propagated ;
feature.compose <debug_stats>on : <define>DEBUG_STATS=1 ;
exe dht-bootstrap
: # sources
src/main.cpp src/bdecode.cpp src/city.cc src/ip_set.cpp
: # requirements
<threading>multi
<include>src
<library>boost-system
<toolset>gcc:<cxxflags>-std=c++11
<toolset>darwin:<cxxflags>-std=c++11
: # default build
<link>static
<threading>multi
: # usage requirements
;
exe dht-torture
: # sources
src/dht-torture.cpp src/bdecode.cpp
: # requirements
<threading>multi
<include>src
<library>boost-system
<toolset>gcc:<cxxflags>-std=c++11
<toolset>darwin:<cxxflags>-std=c++11
: # default build
<link>static
<threading>multi
: # usage requirements
;
install stage : dht-bootstrap dht-torture : <location>. ;