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 = karma ;
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 ;
59 run alternative1.cpp ;
60 run alternative2.cpp ;
61 run and_predicate.cpp ;
71 run case_handling1.cpp ;
72 run case_handling2.cpp ;
73 run case_handling3.cpp ;
74 run center_alignment.cpp ;
80 run debug.cpp : : : <pch>off ;
86 run format_manip.cpp ;
87 run format_manip_attr.cpp ;
88 run format_pointer_container.cpp ;
89 run generate_attr.cpp ;
96 run left_alignment.cpp ;
100 run not_predicate.cpp ;
113 run right_alignment.cpp ;
120 run tricky_alignment.cpp ;
127 compile regression_const_real_policies.cpp ;
128 run regression_adapt_adt.cpp ;
129 run regression_center_alignment.cpp ;
130 run regression_container_variant_sequence.cpp ;
131 run regression_iterator.cpp ;
132 run regression_optional_double.cpp ;
133 run regression_real_0.cpp ;
134 run regression_real_policy_sign.cpp ;
135 run regression_real_scientific.cpp ;
136 run regression_semantic_action_attribute.cpp ;
137 run regression_unicode_char.cpp : : : <pch>off ;