]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/spirit/test/support/Jamfile
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / spirit / test / support / Jamfile
1 #==============================================================================
2 # Copyright (c) 2001-2011 Joel de Guzman
3 # Copyright (c) 2001-2012 Hartmut Kaiser
4 # Copyright (c) 2011 Bryce Lelbach
5 #
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 #==============================================================================
10
11 import testing ;
12
13 ###############################################################################
14
15 project spirit-support
16 : requirements
17 <include>.
18 <c++-template-depth>512
19 ;
20
21 ###############################################################################
22
23 local subproject-name = support ;
24
25 rule run ( sources + : args * : input-files *
26 : requirements * : target-name ? : default-build * )
27 {
28 target-name ?= $(subproject-name)_$(sources[1]:D=:S=) ;
29 return [ testing.run $(sources) : $(args) : $(input-files)
30 : $(requirements) : $(target-name) : $(default-build) ] ;
31 }
32
33 rule compile ( sources + : requirements * : target-name ? )
34 {
35 target-name ?= $(subproject-name)_$(sources[1]:D=:S=) ;
36 return [ testing.compile $(sources)
37 : $(requirements) : $(target-name) ] ;
38 }
39
40 rule compile-fail ( sources + : requirements * : target-name ? )
41 {
42 target-name ?= $(subproject-name)_$(sources[1]:D=:S=) ;
43 return [ testing.compile-fail $(sources)
44 : $(requirements) : $(target-name) ] ;
45 }
46
47 ###############################################################################
48
49 run istream_iterator_basic.cpp ;
50 run unused_type.cpp ;
51 run utree.cpp ;
52 run utree_debug.cpp ;
53
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 ;