-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathJamroot
136 lines (115 loc) · 2.95 KB
/
Jamroot
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
import os ;
import testing ;
local boost_root_path = [ os.environ BOOST_ROOT ] ;
if ! $(boost_root_path)
{ boost_root_path = "../boost" ; }
use-project boost : $(boost_root_path) ;
local range-v3_path = [ os.environ RANGE_V3_ROOT ] ;
if ! $(range-v3_path)
{ range-v3_path = "../range-v3" ; }
local gbenchmark_path = [ os.environ GBENCHMARK ] ;
if ! $(gbenchmark_path)
{ gbenchmark_path = "../gbenchmark" ; }
project google-benchmark
: requirements
<include>$(gbenchmark_path)/include
;
lib pthread ;
lib benchmark
: pthread
: <search>$(gbenchmark_path)/build/src
;
project coruja
: requirements
<include>include
<include>test
<cxxflags>-std=c++11
<use>/boost//headers
<include>$(range-v3_path)/include
: default-build
<variant>debug
<optimization>speed
<warnings>off
;
run test/any_container.cpp ;
run test/any_object_view.cpp ;
run test/boost_optional.cpp ;
run test/boost_variant.cpp ;
run test/container_view.cpp ;
run test/filter.cpp ;
run test/for_each.cpp ;
run test/lift_object.cpp ;
run test/list.cpp ;
run test/map.cpp ;
run test/object.cpp ;
run test/object_view.cpp ;
run test/observer_class.cpp ;
run test/set.cpp ;
run test/signal.cpp ;
run test/transform_object.cpp ;
run test/transform_vector.cpp ;
run test/unordered_map.cpp ;
run test/vector.cpp ;
run test/vector_as_base.cpp ;
run test/view_collision.cpp ;
run test/boost_serialization_object.cpp
: : : <library>/boost//serialization <library>/boost//filesystem ;
run test/boost_serialization_vector.cpp
: : : <library>/boost//serialization <library>/boost//filesystem ;
run test/boost_serialization_list.cpp
: : : <library>/boost//serialization <library>/boost//filesystem ;
run test/bug_before_erase_lvalue.cpp ;
exe fullname_demo
: demo/fullname.cpp
: <cxxflags>-std=c++14
;
explicit fullname_demo ;
exe fullnames_demo
: demo/fullnames.cpp
: <cxxflags>-std=c++14
;
explicit fullnames_demo ;
exe hello_demo
: demo/hello.cpp
: <cxxflags>-std=c++14
;
explicit hello_demo ;
exe bench_signals
: test/bench_signals.cpp
: <library>/google-benchmark//benchmark
;
explicit bench_signals ;
exe bench_vec_transform_push_back
: test/bench_vec_transform_push_back.cpp
: <library>/google-benchmark//benchmark
;
explicit bench_vec_transform_push_back ;
exe bench_vec_2xtransform
: test/bench_vec_2xtransform.cpp
: <library>/google-benchmark//benchmark
;
explicit bench_vec_2xtransform ;
exe bench_lift_assignment
: test/bench_lift_assignment.cpp
: <library>/google-benchmark//benchmark
;
explicit bench_lift_assignment ;
exe bench_object_after_change
: test/bench_object_after_change.cpp
: <library>/google-benchmark//benchmark
;
explicit bench_object_after_change ;
install stage/bench
: bench_signals
bench_vec_transform_push_back
bench_vec_2xtransform
bench_lift_assignment
bench_object_after_change
;
explicit stage/bench ;
install stage/demo
: fullname_demo
fullnames_demo
hello_demo
;
explicit stage/demo ;