Jamfile 4.3 KB

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