Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / histogram / examples / Jamfile
1 # Copyright (c) 2018 Mateusz Loskot <mateusz@loskot.net>
2 # Copyright (c) 2019 Hans Dembinski
3 #
4 # Use, modification and distribution is subject to the Boost Software License,
5 # Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
6 # http://www.boost.org/LICENSE_1_0.txt)
7
8 import testing ;
9 import ../../config/checks/config : requires ;
10
11 project
12     : requirements
13     [ requires
14       cxx14_constexpr cxx14_decltype_auto cxx14_generic_lambdas cxx14_return_type_deduction cxx11_user_defined_literals
15       # list could go on...
16     ]
17     ;
18
19 alias cxx14 :
20     [ run getting_started_listing_01.cpp ]
21     [ run getting_started_listing_02.cpp ]
22     [ run getting_started_listing_03.cpp ]
23     [ run getting_started_listing_04.cpp ]
24     [ run guide_axis_basic_demo.cpp ]
25     [ run guide_axis_circular.cpp ]
26     [ run guide_axis_growing.cpp ]
27     [ run guide_axis_with_labels.cpp ]
28     [ run guide_axis_with_transform.cpp ]
29     [ run guide_axis_with_uoflow_off.cpp ]
30     [ run guide_custom_2d_axis.cpp ]
31     [ run guide_custom_accumulators_1.cpp ]
32     [ run guide_custom_accumulators_2.cpp ]
33     [ run guide_custom_accumulators_3.cpp ]
34     [ run guide_custom_minimal_axis.cpp ]
35     [ run guide_custom_modified_axis.cpp ]
36     [ run guide_custom_storage.cpp ]
37     [ run guide_fill_histogram.cpp ]
38     [ run guide_fill_profile.cpp ]
39     [ run guide_fill_weighted_histogram.cpp ]
40     [ run guide_fill_weighted_profile.cpp ]
41     [ run guide_histogram_operators.cpp ]
42     [ run guide_histogram_reduction.cpp ]
43     [ run guide_histogram_projection.cpp ]
44     [ run guide_histogram_streaming.cpp ]
45     [ run guide_indexed_access.cpp ]
46     [ run guide_make_dynamic_histogram.cpp ]
47     [ run guide_make_static_histogram.cpp ]
48     [ run guide_stdlib_algorithms.cpp ]
49     ;
50
51 alias threading :
52     [ run guide_parallel_filling.cpp ] :
53     <threading>multi
54     ;
55
56 alias libserial : /boost/serialization//boost_serialization : <link>static ;
57
58 alias serial :
59     [ run guide_histogram_serialization.cpp libserial ]
60     ;
61
62 alias all : cxx14 threading serial ;
63
64 explicit cxx14 ;
65 explicit threading ;
66 explicit libserial ;
67 explicit serial ;