]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/spirit/test/qi/Jamfile
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / spirit / test / qi / Jamfile
1 #==============================================================================
2 # Copyright (c) 2001-2011 Joel de Guzman
3 # Copyright (c) 2001-2012 Hartmut Kaiser
4 # Copyright (c) 2011 Bryce Lelbach
5 # Copyright (c) 2016-2019 Nikita Kniazev
6 #
7 # Use, modification and distribution is subject to the Boost Software
8 # License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
9 # http://www.boost.org/LICENSE_1_0.txt)
10 #==============================================================================
11
12 import testing ;
13
14 ###############################################################################
15
16 project spirit-qi
17 : requirements
18 <include>.
19 <c++-template-depth>512
20 ;
21
22 ###############################################################################
23
24 cpp-pch pch : pch.hpp : : : <include>. <toolset>msvc:<cxxflags>"/FIpch.hpp" ;
25
26 explicit pch ;
27
28 ###############################################################################
29
30 local subproject-name = qi ;
31
32 rule run ( sources + : args * : input-files *
33 : requirements * : target-name ? : default-build * )
34 {
35 target-name ?= $(subproject-name)_$(sources[1]:D=:S=) ;
36 return [ testing.run $(sources) : $(args) : $(input-files)
37 : $(requirements) <pch>on-spirit:<source>pch : $(target-name) : $(default-build) ] ;
38 }
39
40 rule compile ( sources + : requirements * : target-name ? )
41 {
42 target-name ?= $(subproject-name)_$(sources[1]:D=:S=) ;
43 return [ testing.compile $(sources)
44 : $(requirements) <pch>on-spirit:<source>pch : $(target-name) ] ;
45 }
46
47 rule compile-fail ( sources + : requirements * : target-name ? )
48 {
49 target-name ?= $(subproject-name)_$(sources[1]:D=:S=) ;
50 return [ testing.compile-fail $(sources)
51 : $(requirements) <pch>on-spirit:<source>pch : $(target-name) ] ;
52 }
53
54 ###############################################################################
55
56 compile-fail grammar_fail.cpp ;
57 compile-fail rule_fail.cpp ;
58 run actions.cpp : : : <pch>off ; # Enable PCH when boostorg/proto#13 is merged.
59 run actions2.cpp : : : <pch>off ;
60 run alternative.cpp ;
61 run attr.cpp ;
62 run attribute1.cpp ;
63 run attribute2.cpp ;
64 run and_predicate.cpp ;
65 run auto.cpp ;
66 run binary.cpp ;
67 run bool1.cpp ;
68 run bool2.cpp ;
69 run char1.cpp : : : <pch>off ; # Enable PCH after fixing interference from including auto.
70 run char2.cpp ;
71 run char_class.cpp : : : <pch>off ;
72 run debug.cpp : : : <pch>off ;
73 run difference.cpp ;
74 run encoding.cpp ;
75 run end.cpp ;
76 run eps.cpp ;
77 run expect.cpp ;
78 run expectd.cpp ;
79 run extract_int.cpp ;
80 run grammar.cpp ;
81 run int1.cpp ;
82 run int2.cpp ;
83 run int3.cpp ;
84 run kleene.cpp ;
85 run lazy.cpp ;
86 run lexeme.cpp ;
87 run lit1.cpp ;
88 run lit2.cpp ;
89 run list.cpp ;
90 run hold.cpp ;
91 run match_manip1.cpp ;
92 run match_manip2.cpp ;
93 run match_manip3.cpp ;
94 run match_manip_attr.cpp ;
95 run matches.cpp ;
96 run no_case.cpp ;
97 run no_skip.cpp ;
98 run not_predicate.cpp ;
99 run omit.cpp ;
100 run optional.cpp ;
101 run parse_attr.cpp ;
102 run pass_container1.cpp ;
103 run pass_container2.cpp ;
104 run permutation.cpp ;
105 run plus.cpp ;
106 run range_run.cpp ;
107 run raw.cpp ;
108 run real1.cpp ;
109 run real2.cpp ;
110 run real3.cpp ;
111 run real4.cpp ;
112 run real5.cpp ;
113 run repeat.cpp ;
114 run rule1.cpp ;
115 run rule2.cpp ;
116 run rule3.cpp ;
117 run rule4.cpp ;
118 run sequence.cpp ;
119 run sequential_or.cpp ;
120 run skip.cpp ;
121 run stream.cpp ;
122 run symbols1.cpp ;
123 run symbols2.cpp ;
124 run terminal_ex.cpp ;
125 run tst.cpp ;
126 run uint1.cpp ;
127 run uint2.cpp ;
128 run uint3.cpp ;
129 run uint_radix.cpp ;
130 run utree1.cpp ;
131 run utree2.cpp ;
132 run utree3.cpp ;
133 run utree4.cpp ;
134 run iterator_check.cpp ;
135
136 compile pass_container3.cpp ;
137 compile regression_attr_with_action.cpp ;
138 compile regression_container_attribute.cpp ;
139 compile regression_debug_optional.cpp : <pch>off ;
140 compile regression_fusion_proto_spirit.cpp ;
141 compile regression_one_element_fusion_sequence.cpp ;
142 compile regression_one_element_sequence_attribute.cpp ;
143
144 run regression_adapt_adt.cpp ;
145 run regression_clear.cpp ;
146 #run regression_float_fraction.cpp ;
147 run regression_lazy_repeat.cpp ;
148 run regression_numeric_alternatives.cpp ;
149 run regression_reorder.cpp ;
150 run regression_repeat.cpp ;
151 run regression_transform_assignment.cpp ;
152 run regression_binary_action.cpp ;
153 run regression_stream_eof.cpp ;
154
155 run to_utf8.cpp : : : <pch>off ;