2015-06-21 19:53:23 +03:00
|
|
|
# Boost.Mp11 Library Test Jamfile
|
|
|
|
|
#
|
2019-01-11 03:13:46 +02:00
|
|
|
# Copyright 2015-2019 Peter Dimov
|
2015-06-21 19:53:23 +03:00
|
|
|
#
|
|
|
|
|
# Distributed under the Boost Software License, Version 1.0.
|
|
|
|
|
# See accompanying file LICENSE_1_0.txt or copy at
|
|
|
|
|
# http://www.boost.org/LICENSE_1_0.txt
|
|
|
|
|
|
|
|
|
|
import testing ;
|
|
|
|
|
import ../../config/checks/config : requires ;
|
|
|
|
|
|
2019-01-11 03:13:46 +02:00
|
|
|
project
|
2019-02-19 16:51:51 +02:00
|
|
|
: requirements
|
|
|
|
|
|
|
|
|
|
[ requires cxx11_variadic_templates cxx11_template_aliases cxx11_decltype cxx11_hdr_tuple ]
|
|
|
|
|
|
|
|
|
|
<toolset>msvc:<warnings>all # /W4
|
|
|
|
|
<toolset>msvc:<warnings-as-errors>on
|
|
|
|
|
|
|
|
|
|
<toolset>gcc:<warnings-as-errors>on
|
|
|
|
|
|
|
|
|
|
<toolset>clang:<warnings-as-errors>on
|
2019-01-11 03:13:46 +02:00
|
|
|
;
|
2015-06-21 19:53:23 +03:00
|
|
|
|
2015-06-21 20:47:04 +03:00
|
|
|
# include-only
|
2017-07-26 13:33:58 +03:00
|
|
|
compile mp11.cpp ;
|
2015-06-21 20:47:04 +03:00
|
|
|
|
2015-06-21 19:53:23 +03:00
|
|
|
# list
|
2017-07-26 13:33:58 +03:00
|
|
|
run mp_size.cpp ;
|
|
|
|
|
run mp_empty.cpp ;
|
|
|
|
|
run mp_front.cpp ;
|
|
|
|
|
run mp_pop_front.cpp ;
|
|
|
|
|
run mp_second.cpp ;
|
|
|
|
|
run mp_third.cpp ;
|
|
|
|
|
run mp_push_front.cpp ;
|
|
|
|
|
run mp_push_back.cpp ;
|
|
|
|
|
run mp_rename.cpp ;
|
|
|
|
|
run mp_append.cpp ;
|
|
|
|
|
run mp_append_2.cpp ;
|
2019-01-07 07:03:05 +02:00
|
|
|
run mp_append_sf.cpp ;
|
2017-07-26 13:33:58 +03:00
|
|
|
run mp_replace_front.cpp ;
|
|
|
|
|
run mp_replace_second.cpp ;
|
|
|
|
|
run mp_replace_third.cpp ;
|
|
|
|
|
run mp_apply_q.cpp ;
|
2017-10-14 17:42:02 +03:00
|
|
|
run mp_is_list.cpp ;
|
2017-10-14 18:20:29 +03:00
|
|
|
run mp_list_c.cpp ;
|
2019-01-08 02:17:32 +02:00
|
|
|
run mp_transform_front.cpp ;
|
|
|
|
|
run mp_transform_second.cpp ;
|
|
|
|
|
run mp_transform_third.cpp ;
|
2015-07-24 13:19:17 +03:00
|
|
|
|
|
|
|
|
# algorithm
|
2017-07-26 13:33:58 +03:00
|
|
|
run mp_assign.cpp ;
|
|
|
|
|
run mp_clear.cpp ;
|
|
|
|
|
run mp_transform.cpp ;
|
|
|
|
|
run mp_transform_q.cpp ;
|
|
|
|
|
run mp_transform_sf.cpp ;
|
|
|
|
|
run mp_transform_if.cpp ;
|
|
|
|
|
run mp_transform_if_q.cpp ;
|
2019-02-03 19:48:16 +02:00
|
|
|
run mp_filter.cpp ;
|
2017-07-26 13:33:58 +03:00
|
|
|
run mp_fill.cpp ;
|
|
|
|
|
run mp_count.cpp ;
|
|
|
|
|
run mp_count_if.cpp ;
|
2017-10-21 21:30:51 +03:00
|
|
|
run mp_count_if_q.cpp ;
|
2017-07-26 13:33:58 +03:00
|
|
|
run mp_contains.cpp ;
|
2018-08-30 22:35:23 -04:00
|
|
|
run mp_starts_with.cpp ;
|
|
|
|
|
run mp_starts_with_sf.cpp ;
|
2017-07-26 13:33:58 +03:00
|
|
|
run mp_repeat.cpp ;
|
|
|
|
|
run mp_product.cpp ;
|
|
|
|
|
run mp_drop.cpp ;
|
|
|
|
|
run mp_iota.cpp ;
|
|
|
|
|
run mp_at.cpp ;
|
|
|
|
|
run mp_at_sf.cpp ;
|
|
|
|
|
run mp_take.cpp ;
|
|
|
|
|
run mp_replace.cpp ;
|
|
|
|
|
run mp_replace_if.cpp ;
|
2017-10-21 21:51:14 +03:00
|
|
|
run mp_replace_if_q.cpp ;
|
2017-07-26 13:33:58 +03:00
|
|
|
run mp_copy_if.cpp ;
|
2017-10-21 22:03:37 +03:00
|
|
|
run mp_copy_if_q.cpp ;
|
2017-07-26 13:33:58 +03:00
|
|
|
run mp_remove.cpp ;
|
|
|
|
|
run mp_remove_if.cpp ;
|
2017-10-21 22:13:35 +03:00
|
|
|
run mp_remove_if_q.cpp ;
|
2017-07-26 13:33:58 +03:00
|
|
|
run mp_partition.cpp ;
|
2017-10-22 01:25:35 +03:00
|
|
|
run mp_partition_q.cpp ;
|
2017-07-26 13:33:58 +03:00
|
|
|
run mp_sort.cpp ;
|
2017-10-22 01:34:12 +03:00
|
|
|
run mp_sort_q.cpp ;
|
2017-07-26 13:33:58 +03:00
|
|
|
run mp_find.cpp ;
|
|
|
|
|
run mp_find_if.cpp ;
|
2017-10-22 02:18:40 +03:00
|
|
|
run mp_find_if_q.cpp ;
|
2017-07-26 13:33:58 +03:00
|
|
|
run mp_reverse.cpp ;
|
|
|
|
|
run mp_fold.cpp ;
|
2017-10-14 20:26:38 +03:00
|
|
|
run mp_fold_q.cpp ;
|
2017-07-26 13:33:58 +03:00
|
|
|
run mp_reverse_fold.cpp ;
|
2017-10-14 20:26:38 +03:00
|
|
|
run mp_reverse_fold_q.cpp ;
|
2017-07-26 13:33:58 +03:00
|
|
|
run mp_unique.cpp ;
|
2019-12-03 13:08:32 -07:00
|
|
|
run mp_unique_if.cpp ;
|
|
|
|
|
run mp_unique_if_q.cpp ;
|
2017-07-26 13:33:58 +03:00
|
|
|
run mp_all_of.cpp ;
|
2017-10-22 02:50:29 +03:00
|
|
|
run mp_all_of_q.cpp ;
|
2017-07-26 13:33:58 +03:00
|
|
|
run mp_any_of.cpp ;
|
2017-10-22 02:50:29 +03:00
|
|
|
run mp_any_of_q.cpp ;
|
2017-07-26 13:33:58 +03:00
|
|
|
run mp_none_of.cpp ;
|
2017-10-22 02:50:29 +03:00
|
|
|
run mp_none_of_q.cpp ;
|
2017-07-26 13:33:58 +03:00
|
|
|
run mp_replace_at.cpp ;
|
|
|
|
|
run mp_replace_at_c.cpp ;
|
|
|
|
|
run mp_for_each.cpp ;
|
|
|
|
|
run mp_insert.cpp ;
|
|
|
|
|
run mp_erase.cpp ;
|
|
|
|
|
run mp_with_index.cpp ;
|
|
|
|
|
run mp_with_index_cx.cpp ;
|
2017-10-14 18:20:29 +03:00
|
|
|
run mp_from_sequence.cpp ;
|
2017-10-14 22:05:49 +03:00
|
|
|
run mp_min_element.cpp ;
|
2017-10-22 02:00:56 +03:00
|
|
|
run mp_min_element_q.cpp ;
|
2017-10-14 22:05:49 +03:00
|
|
|
run mp_max_element.cpp ;
|
2017-10-22 02:00:56 +03:00
|
|
|
run mp_max_element_q.cpp ;
|
2017-10-15 16:56:22 +03:00
|
|
|
run mp_nth_element.cpp ;
|
2017-10-22 01:47:00 +03:00
|
|
|
run mp_nth_element_q.cpp ;
|
2019-02-16 19:41:08 +02:00
|
|
|
run mp_back.cpp ;
|
|
|
|
|
run mp_pop_back.cpp ;
|
2019-12-08 02:08:26 +02:00
|
|
|
run mp_flatten.cpp ;
|
2019-12-16 15:25:13 +00:00
|
|
|
run mp_rotate_left.cpp ;
|
|
|
|
|
run mp_rotate_right.cpp ;
|
2020-03-19 15:04:52 +02:00
|
|
|
run mp_power_set.cpp ;
|
2020-03-19 17:25:03 +02:00
|
|
|
run mp_partial_sum.cpp ;
|
2020-03-22 18:50:55 +02:00
|
|
|
run mp_iterate.cpp ;
|
2020-10-12 22:12:42 +03:00
|
|
|
run mp_pairwise_fold.cpp ;
|
|
|
|
|
run mp_pairwise_fold_q.cpp ;
|
2021-03-12 04:27:50 +02:00
|
|
|
run mp_intersperse.cpp ;
|
2021-03-12 06:18:45 +02:00
|
|
|
run mp_split.cpp ;
|
2021-03-12 06:35:11 +02:00
|
|
|
run mp_join.cpp ;
|
2015-06-21 19:53:23 +03:00
|
|
|
|
|
|
|
|
# integral
|
2017-07-26 13:33:58 +03:00
|
|
|
run integral.cpp ;
|
2015-06-21 19:53:23 +03:00
|
|
|
|
|
|
|
|
# utility
|
2017-07-26 13:33:58 +03:00
|
|
|
run mp_identity.cpp ;
|
|
|
|
|
run mp_inherit.cpp ;
|
|
|
|
|
run mp_if.cpp ;
|
|
|
|
|
run mp_if_sf.cpp ;
|
|
|
|
|
run mp_eval_if.cpp ;
|
|
|
|
|
run mp_eval_if_sf.cpp ;
|
|
|
|
|
run mp_valid.cpp ;
|
|
|
|
|
run mp_defer.cpp ;
|
|
|
|
|
run mp_quote.cpp ;
|
2019-01-07 03:41:29 +02:00
|
|
|
run mp_invoke_q.cpp ;
|
|
|
|
|
run mp_invoke_q_sf.cpp ;
|
2017-07-26 13:33:58 +03:00
|
|
|
run mp_quote_trait.cpp ;
|
2017-10-14 02:53:38 +03:00
|
|
|
run mp_cond.cpp ;
|
|
|
|
|
run mp_cond_sf.cpp ;
|
2019-01-08 01:27:04 +02:00
|
|
|
run mp_not_fn.cpp ;
|
2019-02-14 19:57:04 +02:00
|
|
|
run mp_eval_if_not.cpp ;
|
2019-02-14 21:03:13 +02:00
|
|
|
run mp_eval_or.cpp ;
|
2020-03-08 02:33:56 +02:00
|
|
|
run mp_compose.cpp ;
|
2015-06-22 02:23:20 +03:00
|
|
|
|
|
|
|
|
# integer_sequence
|
2017-07-26 13:33:58 +03:00
|
|
|
run integer_sequence.cpp ;
|
2015-06-24 14:57:32 +03:00
|
|
|
|
2017-06-08 17:19:28 +03:00
|
|
|
# tuple
|
2017-07-26 13:33:58 +03:00
|
|
|
run tuple_for_each.cpp ;
|
|
|
|
|
compile tuple_for_each_cx.cpp ;
|
|
|
|
|
run tuple_apply.cpp ;
|
|
|
|
|
compile tuple_apply_cx.cpp ;
|
|
|
|
|
run construct_from_tuple.cpp ;
|
|
|
|
|
compile construct_from_tuple_cx.cpp ;
|
2020-05-23 19:16:07 +03:00
|
|
|
run tuple_transform.cpp ;
|
2020-05-23 21:13:35 +03:00
|
|
|
run tuple_transform_2.cpp ;
|
2020-05-23 19:16:07 +03:00
|
|
|
compile tuple_transform_cx.cpp ;
|
2015-07-24 13:19:17 +03:00
|
|
|
|
|
|
|
|
# set
|
2017-07-26 13:33:58 +03:00
|
|
|
run mp_set_contains.cpp ;
|
|
|
|
|
run mp_set_push_back.cpp ;
|
|
|
|
|
run mp_set_push_front.cpp ;
|
|
|
|
|
run mp_is_set.cpp ;
|
2019-01-07 06:50:51 +02:00
|
|
|
run mp_set_union.cpp ;
|
|
|
|
|
run mp_set_union_sf.cpp ;
|
2019-01-07 21:02:30 +02:00
|
|
|
run mp_set_difference.cpp ;
|
2019-01-07 21:27:06 +02:00
|
|
|
run mp_set_difference_sf.cpp ;
|
2019-01-07 22:30:58 +02:00
|
|
|
run mp_set_intersection.cpp ;
|
2019-01-07 22:45:51 +02:00
|
|
|
run mp_set_intersection_sf.cpp ;
|
2016-11-16 21:24:13 +02:00
|
|
|
|
|
|
|
|
# function
|
2017-07-26 13:33:58 +03:00
|
|
|
run mp_all.cpp ;
|
2021-03-22 20:00:46 +02:00
|
|
|
run mp_all_2.cpp ;
|
2017-07-26 13:33:58 +03:00
|
|
|
run mp_and.cpp ;
|
|
|
|
|
run mp_any.cpp ;
|
|
|
|
|
run mp_or.cpp ;
|
|
|
|
|
run mp_same.cpp ;
|
|
|
|
|
run mp_plus.cpp ;
|
2017-10-15 15:52:32 +03:00
|
|
|
run mp_less.cpp ;
|
|
|
|
|
run mp_min.cpp ;
|
|
|
|
|
run mp_max.cpp ;
|
2019-01-07 05:54:20 +02:00
|
|
|
run mp_similar.cpp ;
|
2016-11-17 02:01:50 +02:00
|
|
|
|
|
|
|
|
# map
|
2017-07-26 13:33:58 +03:00
|
|
|
run mp_map_find.cpp ;
|
2020-07-21 20:23:36 +03:00
|
|
|
run mp_map_find_2.cpp ;
|
2020-07-25 01:54:49 +03:00
|
|
|
run mp_map_find_3.cpp ;
|
2017-07-26 13:33:58 +03:00
|
|
|
run mp_map_contains.cpp ;
|
|
|
|
|
run mp_map_insert.cpp ;
|
|
|
|
|
run mp_map_replace.cpp ;
|
|
|
|
|
run mp_map_erase.cpp ;
|
|
|
|
|
run mp_map_update.cpp ;
|
2017-10-22 03:19:18 +03:00
|
|
|
run mp_map_update_q.cpp ;
|
2017-07-26 13:33:58 +03:00
|
|
|
run mp_map_keys.cpp ;
|
|
|
|
|
run mp_is_map.cpp ;
|
2017-04-01 18:42:11 +03:00
|
|
|
|
|
|
|
|
# bind
|
2017-07-26 13:33:58 +03:00
|
|
|
run mp_bind.cpp ;
|
|
|
|
|
run mp_bind_q.cpp ;
|
|
|
|
|
run mp_bind_front.cpp ;
|
|
|
|
|
run mp_bind_back.cpp ;
|
2017-07-18 16:37:31 +03:00
|
|
|
|
|
|
|
|
# mpl
|
2018-09-28 17:55:52 +03:00
|
|
|
run mpl.cpp : ;
|
2019-08-23 20:49:51 +03:00
|
|
|
run mpl_list.cpp : ;
|
2019-08-23 20:51:13 +03:00
|
|
|
run mpl_tuple.cpp : ;
|
2017-09-05 05:08:17 +03:00
|
|
|
|
2019-03-04 20:29:49 +02:00
|
|
|
# version
|
|
|
|
|
run version.cpp ;
|
|
|
|
|
run mp11_version.cpp ;
|
|
|
|
|
run list_version.cpp ;
|
|
|
|
|
run algorithm_version.cpp ;
|
|
|
|
|
run integral_version.cpp ;
|
|
|
|
|
run utility_version.cpp ;
|
|
|
|
|
run function_version.cpp ;
|
|
|
|
|
run map_version.cpp ;
|
|
|
|
|
run set_version.cpp ;
|
|
|
|
|
run bind_version.cpp ;
|
|
|
|
|
run integer_sequence_version.cpp ;
|
|
|
|
|
run tuple_version.cpp ;
|
|
|
|
|
run mpl_version.cpp ;
|
|
|
|
|
|
2017-09-05 05:08:17 +03:00
|
|
|
# quick (for CI)
|
|
|
|
|
alias quick : mp11 mp_size ;
|
|
|
|
|
explicit quick ;
|