1 #~ Copyright Rene Rivera 2008
2 #~ Distributed under the Boost Software License, Version 1.0.
3 #~ (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
8 project preprocessor_tests : requirements <warnings>on
9 <toolset>gcc-4.3.0:<warnings>all
10 <toolset>gcc-4.3.0:<cxxflags>-Wno-variadic-macros
11 <toolset>gcc-4.4.0:<warnings>all
12 <toolset>gcc-4.4.0:<cxxflags>-Wno-variadic-macros
13 <toolset>gcc-4.5.0:<warnings>all
14 <toolset>gcc-4.5.0:<cxxflags>-Wno-variadic-macros
15 <toolset>gcc-4.5.0:<linkflags>"-Wl,--enable-auto-import"
16 <toolset>gcc-4.5.2:<warnings>all
17 <toolset>gcc-4.5.2:<cxxflags>-Wno-variadic-macros
18 <toolset>msvc:<warnings>all
21 alias preprocessor : :
23 <toolset-gcc:version>3.4
26 alias preprocessor : :
28 <toolset-gcc:version>4.1
31 alias preprocessor : :
33 <toolset-gcc:version>4.2
38 [ compile arithmetic.cpp ]
40 [ compile comparison.cpp ]
41 [ compile control.cpp ]
43 [ compile facilities.cpp ]
44 [ compile iteration.cpp ]
46 [ compile logical.cpp ]
47 [ compile punctuation.cpp ]
48 [ compile repetition.cpp ]
49 [ compile selection.cpp ]
52 [ compile stringize.cpp ]
54 [ compile variadic.cpp ]
57 alias preprocessor_nvm
59 [ compile arithmetic.cpp : <define>BOOST_PP_VARIADICS=0 : arithmetic_nvm ]
60 [ compile array.cpp : <define>BOOST_PP_VARIADICS=0 : array_nvm ]
61 [ compile comparison.cpp : <define>BOOST_PP_VARIADICS=0 : comparison_nvm ]
62 [ compile control.cpp : <define>BOOST_PP_VARIADICS=0 : control_nvm ]
63 [ compile debug.cpp : <define>BOOST_PP_VARIADICS=0 : debug_nvm ]
64 [ compile facilities.cpp : <define>BOOST_PP_VARIADICS=0 : facilities_nvm ]
65 [ compile iteration.cpp : <define>BOOST_PP_VARIADICS=0 : iteration_nvm ]
66 [ compile list.cpp : <define>BOOST_PP_VARIADICS=0 : list_nvm ]
67 [ compile logical.cpp : <define>BOOST_PP_VARIADICS=0 : logical_nvm ]
68 [ compile repetition.cpp : <define>BOOST_PP_VARIADICS=0 : repetition_nvm ]
69 [ compile selection.cpp : <define>BOOST_PP_VARIADICS=0 : selection_nvm ]
70 [ compile seq.cpp : <define>BOOST_PP_VARIADICS=0 : seq_nvm ]
71 [ compile slot.cpp : <define>BOOST_PP_VARIADICS=0 : slot_nvm ]
72 [ compile stringize.cpp : <define>BOOST_PP_VARIADICS=0 : stringize_nvm ]
73 [ compile tuple.cpp : <define>BOOST_PP_VARIADICS=0 : tuple_nvm ]
78 [ compile arithmetic.c
86 [ compile comparison.c
98 [ compile facilities.c
110 [ compile punctuation.c
114 [ compile selection.c
126 [ compile stringize.c
140 alias preprocessor_c_nvm
142 [ compile arithmetic.c
143 : <define>BOOST_PP_VARIADICS=0
147 : <define>BOOST_PP_VARIADICS=0
150 [ compile comparison.c
151 : <define>BOOST_PP_VARIADICS=0
155 : <define>BOOST_PP_VARIADICS=0
159 : <define>BOOST_PP_VARIADICS=0
162 [ compile facilities.c
163 : <define>BOOST_PP_VARIADICS=0
167 : <define>BOOST_PP_VARIADICS=0
171 : <define>BOOST_PP_VARIADICS=0
174 [ compile selection.c
175 : <define>BOOST_PP_VARIADICS=0
179 : <define>BOOST_PP_VARIADICS=0
183 : <define>BOOST_PP_VARIADICS=0
186 [ compile stringize.c
187 : <define>BOOST_PP_VARIADICS=0
191 : <define>BOOST_PP_VARIADICS=0
196 alias preprocessor_isempty : :
198 <toolset-gcc:version>3.4
201 alias preprocessor_isempty : :
203 <toolset-gcc:version>4.1
206 alias preprocessor_isempty : :
208 <toolset-gcc:version>4.2
211 alias preprocessor_isempty
213 [ compile isempty.cpp ]
214 [ compile checkempty.cpp ]
215 [ compile-fail isempty_variadic_standard_failure.cpp : <define>BOOST_PP_VARIADICS=1 ]
216 [ compile-fail isempty_variadic_standard_failure2.cpp : <define>BOOST_PP_VARIADICS=1 ]
217 [ compile vaopt.cpp ]
220 alias preprocessor_isempty_nvm
222 [ compile isempty.cpp : <define>BOOST_PP_VARIADICS=0 : isempty_nvm ]
225 alias preprocessor_isempty_c
231 [ compile-fail isempty_variadic_standard_failure.c
232 : <define>BOOST_PP_VARIADICS=1
233 : isempty_variadic_standard_failure_c
235 [ compile-fail isempty_variadic_standard_failure2.c
236 : <define>BOOST_PP_VARIADICS=1
237 : isempty_variadic_standard_failure2_c
241 alias preprocessor_isempty_c_nvm
244 : <define>BOOST_PP_VARIADICS=0
249 alias preprocessor_config
251 [ run config_info.cpp ]
254 alias test_clang_cuda
256 [ compile [ cast _ cpp : clang_cuda.cu ]
257 : <cxxflags>-nocudalib
264 explicit test_clang_cuda ;
268 [ run cpp_standard.cpp ]
273 explicit compile quick.cpp ; # "Quick" test (for CI)