]>
Commit | Line | Data |
---|---|---|
b32b8144 FG |
1 | # Boost.Mp11 Library Test Jamfile |
2 | # | |
92f5a8d4 | 3 | # Copyright 2015-2019 Peter Dimov |
b32b8144 FG |
4 | # |
5 | # Distributed under the Boost Software License, Version 1.0. | |
6 | # See accompanying file LICENSE_1_0.txt or copy at | |
7 | # http://www.boost.org/LICENSE_1_0.txt | |
8 | ||
9 | import testing ; | |
10 | import ../../config/checks/config : requires ; | |
11 | ||
92f5a8d4 TL |
12 | project |
13 | : requirements | |
14 | ||
15 | [ requires cxx11_variadic_templates cxx11_template_aliases cxx11_decltype cxx11_hdr_tuple ] | |
16 | ||
17 | <toolset>msvc:<warnings>all # /W4 | |
18 | <toolset>msvc:<warnings-as-errors>on | |
19 | ||
20 | <toolset>gcc:<warnings-as-errors>on | |
21 | ||
22 | <toolset>clang:<warnings-as-errors>on | |
23 | ; | |
b32b8144 FG |
24 | |
25 | # include-only | |
26 | compile mp11.cpp ; | |
27 | ||
28 | # list | |
29 | run mp_size.cpp ; | |
30 | run mp_empty.cpp ; | |
31 | run mp_front.cpp ; | |
32 | run mp_pop_front.cpp ; | |
33 | run mp_second.cpp ; | |
34 | run mp_third.cpp ; | |
35 | run mp_push_front.cpp ; | |
36 | run mp_push_back.cpp ; | |
37 | run mp_rename.cpp ; | |
38 | run mp_append.cpp ; | |
39 | run mp_append_2.cpp ; | |
92f5a8d4 | 40 | run mp_append_sf.cpp ; |
b32b8144 FG |
41 | run mp_replace_front.cpp ; |
42 | run mp_replace_second.cpp ; | |
43 | run mp_replace_third.cpp ; | |
44 | run mp_apply_q.cpp ; | |
45 | run mp_is_list.cpp ; | |
46 | run mp_list_c.cpp ; | |
92f5a8d4 TL |
47 | run mp_transform_front.cpp ; |
48 | run mp_transform_second.cpp ; | |
49 | run mp_transform_third.cpp ; | |
b32b8144 FG |
50 | |
51 | # algorithm | |
52 | run mp_assign.cpp ; | |
53 | run mp_clear.cpp ; | |
54 | run mp_transform.cpp ; | |
55 | run mp_transform_q.cpp ; | |
56 | run mp_transform_sf.cpp ; | |
57 | run mp_transform_if.cpp ; | |
58 | run mp_transform_if_q.cpp ; | |
92f5a8d4 | 59 | run mp_filter.cpp ; |
b32b8144 FG |
60 | run mp_fill.cpp ; |
61 | run mp_count.cpp ; | |
62 | run mp_count_if.cpp ; | |
63 | run mp_count_if_q.cpp ; | |
64 | run mp_contains.cpp ; | |
92f5a8d4 TL |
65 | run mp_starts_with.cpp ; |
66 | run mp_starts_with_sf.cpp ; | |
b32b8144 FG |
67 | run mp_repeat.cpp ; |
68 | run mp_product.cpp ; | |
69 | run mp_drop.cpp ; | |
70 | run mp_iota.cpp ; | |
71 | run mp_at.cpp ; | |
72 | run mp_at_sf.cpp ; | |
73 | run mp_take.cpp ; | |
74 | run mp_replace.cpp ; | |
75 | run mp_replace_if.cpp ; | |
76 | run mp_replace_if_q.cpp ; | |
77 | run mp_copy_if.cpp ; | |
78 | run mp_copy_if_q.cpp ; | |
79 | run mp_remove.cpp ; | |
80 | run mp_remove_if.cpp ; | |
81 | run mp_remove_if_q.cpp ; | |
82 | run mp_partition.cpp ; | |
83 | run mp_partition_q.cpp ; | |
84 | run mp_sort.cpp ; | |
85 | run mp_sort_q.cpp ; | |
86 | run mp_find.cpp ; | |
87 | run mp_find_if.cpp ; | |
88 | run mp_find_if_q.cpp ; | |
89 | run mp_reverse.cpp ; | |
90 | run mp_fold.cpp ; | |
91 | run mp_fold_q.cpp ; | |
92 | run mp_reverse_fold.cpp ; | |
93 | run mp_reverse_fold_q.cpp ; | |
94 | run mp_unique.cpp ; | |
f67539c2 TL |
95 | run mp_unique_if.cpp ; |
96 | run mp_unique_if_q.cpp ; | |
b32b8144 FG |
97 | run mp_all_of.cpp ; |
98 | run mp_all_of_q.cpp ; | |
99 | run mp_any_of.cpp ; | |
100 | run mp_any_of_q.cpp ; | |
101 | run mp_none_of.cpp ; | |
102 | run mp_none_of_q.cpp ; | |
103 | run mp_replace_at.cpp ; | |
104 | run mp_replace_at_c.cpp ; | |
105 | run mp_for_each.cpp ; | |
106 | run mp_insert.cpp ; | |
107 | run mp_erase.cpp ; | |
108 | run mp_with_index.cpp ; | |
109 | run mp_with_index_cx.cpp ; | |
110 | run mp_from_sequence.cpp ; | |
111 | run mp_min_element.cpp ; | |
112 | run mp_min_element_q.cpp ; | |
113 | run mp_max_element.cpp ; | |
114 | run mp_max_element_q.cpp ; | |
115 | run mp_nth_element.cpp ; | |
116 | run mp_nth_element_q.cpp ; | |
92f5a8d4 TL |
117 | run mp_back.cpp ; |
118 | run mp_pop_back.cpp ; | |
f67539c2 TL |
119 | run mp_flatten.cpp ; |
120 | run mp_rotate_left.cpp ; | |
121 | run mp_rotate_right.cpp ; | |
122 | run mp_power_set.cpp ; | |
123 | run mp_partial_sum.cpp ; | |
124 | run mp_iterate.cpp ; | |
20effc67 TL |
125 | run mp_pairwise_fold.cpp ; |
126 | run mp_pairwise_fold_q.cpp ; | |
b32b8144 FG |
127 | |
128 | # integral | |
129 | run integral.cpp ; | |
130 | ||
131 | # utility | |
132 | run mp_identity.cpp ; | |
133 | run mp_inherit.cpp ; | |
134 | run mp_if.cpp ; | |
135 | run mp_if_sf.cpp ; | |
136 | run mp_eval_if.cpp ; | |
137 | run mp_eval_if_sf.cpp ; | |
138 | run mp_valid.cpp ; | |
139 | run mp_defer.cpp ; | |
140 | run mp_quote.cpp ; | |
92f5a8d4 TL |
141 | run mp_invoke_q.cpp ; |
142 | run mp_invoke_q_sf.cpp ; | |
b32b8144 FG |
143 | run mp_quote_trait.cpp ; |
144 | run mp_cond.cpp ; | |
145 | run mp_cond_sf.cpp ; | |
92f5a8d4 TL |
146 | run mp_not_fn.cpp ; |
147 | run mp_eval_if_not.cpp ; | |
148 | run mp_eval_or.cpp ; | |
f67539c2 | 149 | run mp_compose.cpp ; |
b32b8144 FG |
150 | |
151 | # integer_sequence | |
152 | run integer_sequence.cpp ; | |
153 | ||
154 | # tuple | |
155 | run tuple_for_each.cpp ; | |
156 | compile tuple_for_each_cx.cpp ; | |
157 | run tuple_apply.cpp ; | |
158 | compile tuple_apply_cx.cpp ; | |
159 | run construct_from_tuple.cpp ; | |
160 | compile construct_from_tuple_cx.cpp ; | |
20effc67 TL |
161 | run tuple_transform.cpp ; |
162 | run tuple_transform_2.cpp ; | |
163 | compile tuple_transform_cx.cpp ; | |
b32b8144 FG |
164 | |
165 | # set | |
166 | run mp_set_contains.cpp ; | |
167 | run mp_set_push_back.cpp ; | |
168 | run mp_set_push_front.cpp ; | |
169 | run mp_is_set.cpp ; | |
92f5a8d4 TL |
170 | run mp_set_union.cpp ; |
171 | run mp_set_union_sf.cpp ; | |
172 | run mp_set_difference.cpp ; | |
173 | run mp_set_difference_sf.cpp ; | |
174 | run mp_set_intersection.cpp ; | |
175 | run mp_set_intersection_sf.cpp ; | |
b32b8144 FG |
176 | |
177 | # function | |
178 | run mp_all.cpp ; | |
179 | run mp_and.cpp ; | |
180 | run mp_any.cpp ; | |
181 | run mp_or.cpp ; | |
182 | run mp_same.cpp ; | |
183 | run mp_plus.cpp ; | |
184 | run mp_less.cpp ; | |
185 | run mp_min.cpp ; | |
186 | run mp_max.cpp ; | |
92f5a8d4 | 187 | run mp_similar.cpp ; |
b32b8144 FG |
188 | |
189 | # map | |
190 | run mp_map_find.cpp ; | |
20effc67 TL |
191 | run mp_map_find_2.cpp ; |
192 | run mp_map_find_3.cpp ; | |
b32b8144 FG |
193 | run mp_map_contains.cpp ; |
194 | run mp_map_insert.cpp ; | |
195 | run mp_map_replace.cpp ; | |
196 | run mp_map_erase.cpp ; | |
197 | run mp_map_update.cpp ; | |
198 | run mp_map_update_q.cpp ; | |
199 | run mp_map_keys.cpp ; | |
200 | run mp_is_map.cpp ; | |
201 | ||
202 | # bind | |
203 | run mp_bind.cpp ; | |
204 | run mp_bind_q.cpp ; | |
205 | run mp_bind_front.cpp ; | |
206 | run mp_bind_back.cpp ; | |
207 | ||
208 | # mpl | |
92f5a8d4 TL |
209 | run mpl.cpp : ; |
210 | run mpl_list.cpp : ; | |
211 | run mpl_tuple.cpp : ; | |
212 | ||
213 | # version | |
214 | run version.cpp ; | |
215 | run mp11_version.cpp ; | |
216 | run list_version.cpp ; | |
217 | run algorithm_version.cpp ; | |
218 | run integral_version.cpp ; | |
219 | run utility_version.cpp ; | |
220 | run function_version.cpp ; | |
221 | run map_version.cpp ; | |
222 | run set_version.cpp ; | |
223 | run bind_version.cpp ; | |
224 | run integer_sequence_version.cpp ; | |
225 | run tuple_version.cpp ; | |
226 | run mpl_version.cpp ; | |
b32b8144 FG |
227 | |
228 | # quick (for CI) | |
229 | alias quick : mp11 mp_size ; | |
230 | explicit quick ; |