1 #==============================================================================
2 # Copyright (c) 2001-2011 Joel de Guzman
3 # Copyright (c) 2001-2012 Hartmut Kaiser
4 # Copyright (c) 2011 Bryce Lelbach
6 # Use, modification and distribution is subject to the Boost Software
7 # License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
8 # http://www.boost.org/LICENSE_1_0.txt)
9 #==============================================================================
13 ###############################################################################
15 project spirit-support
18 <c++-template-depth>512
21 ###############################################################################
23 local subproject-name = support ;
25 rule run ( sources + : args * : input-files *
26 : requirements * : target-name ? : default-build * )
28 target-name ?= $(subproject-name)_$(sources[1]:D=:S=) ;
29 return [ testing.run $(sources) : $(args) : $(input-files)
30 : $(requirements) : $(target-name) : $(default-build) ] ;
33 rule compile ( sources + : requirements * : target-name ? )
35 target-name ?= $(subproject-name)_$(sources[1]:D=:S=) ;
36 return [ testing.compile $(sources)
37 : $(requirements) : $(target-name) ] ;
40 rule compile-fail ( sources + : requirements * : target-name ? )
42 target-name ?= $(subproject-name)_$(sources[1]:D=:S=) ;
43 return [ testing.compile-fail $(sources)
44 : $(requirements) : $(target-name) ] ;
47 ###############################################################################
49 run istream_iterator_basic.cpp ;
54 compile regression_multi_pass_functor.cpp ;
55 compile regression_multi_pass_position_iterator.cpp ;
56 run regression_multi_pass_error_handler.cpp ;
57 run regression_multi_pass_parse.cpp ;
58 run regression_line_pos_iterator.cpp ;