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
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 #==============================================================================
14 ###############################################################################
19 <c++-template-depth>512
22 ###############################################################################
24 cpp-pch pch : pch.hpp : : : <include>. <toolset>msvc:<cxxflags>"/FIpch.hpp" ;
28 ###############################################################################
30 local subproject-name = qi ;
32 rule run ( sources + : args * : input-files *
33 : requirements * : target-name ? : default-build * )
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) ] ;
40 rule compile ( sources + : requirements * : target-name ? )
42 target-name ?= $(subproject-name)_$(sources[1]:D=:S=) ;
43 return [ testing.compile $(sources)
44 : $(requirements) <pch>on-spirit:<source>pch : $(target-name) ] ;
47 rule compile-fail ( sources + : requirements * : target-name ? )
49 target-name ?= $(subproject-name)_$(sources[1]:D=:S=) ;
50 return [ testing.compile-fail $(sources)
51 : $(requirements) <pch>on-spirit:<source>pch : $(target-name) ] ;
54 ###############################################################################
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 ;
64 run and_predicate.cpp ;
69 run char1.cpp : : : <pch>off ; # Enable PCH after fixing interference from including auto.
71 run char_class.cpp : : : <pch>off ;
72 run debug.cpp : : : <pch>off ;
91 run match_manip1.cpp ;
92 run match_manip2.cpp ;
93 run match_manip3.cpp ;
94 run match_manip_attr.cpp ;
98 run not_predicate.cpp ;
102 run pass_container1.cpp ;
103 run pass_container2.cpp ;
104 run permutation.cpp ;
119 run sequential_or.cpp ;
124 run terminal_ex.cpp ;
134 run iterator_check.cpp ;
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 ;
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 ;
155 run to_utf8.cpp : : : <pch>off ;