1 # copyright John Maddock 2003
2 # Distributed under the Boost Software License, Version 1.0.
3 # (See accompanying file LICENSE_1_0.txt or copy at
4 # http://www.boost.org/LICENSE_1_0.txt.
9 <link>shared:<define>BOOST_REGEX_DYN_LINK=1
10 <toolset>msvc-7.1:<define>TEST_MFC=1
11 <toolset>msvc-7.0:<define>TEST_MFC=1
12 <toolset>msvc:<asynch-exceptions>on
13 # There are unidentified linker problems on these platforms:
14 <toolset>mipspro-7.4:<link>static
15 <toolset>sun-5.9:<link>static
17 <toolset>gcc:<cxxflags>-Wextra
18 <toolset>gcc:<cxxflags>-Wshadow
19 <define>U_USING_ICU_NAMESPACE=0
20 #<toolset>gcc-mw:<link>static
21 #<toolset>gcc-mingw:<link>static
22 <toolset>gcc-cygwin:<link>static
26 # rule for simple regex test programs:
28 rule regex-test ( name : sources + : requirements * : input-files * )
30 return [ run $(sources) ../build//boost_regex
50 test_non_greedy_repeats.cpp
54 test_simple_repeats.cpp
62 lib boost_regex_recursive :
63 ../src/c_regex_traits.cpp
64 ../src/cpp_regex_traits.cpp
71 ../src/regex_debug.cpp
72 ../src/regex_raw_buffer.cpp
73 ../src/regex_traits_defaults.cpp
74 ../src/static_mutex.cpp
75 ../src/w32_regex_traits.cpp
76 ../src/wc_regex_traits.cpp
77 ../src/wide_posix_api.cpp
79 ../src/usinstances.cpp
82 <define>BOOST_REGEX_RECURSIVE=1
83 <link>shared:<define>BOOST_REGEX_DYN_LINK=1
87 local regress-sources = regress/$(R_SOURCE) ;
91 [ run regress/$(R_SOURCE) ../build//boost_regex ../build//icu_options
97 [ run regress/$(R_SOURCE) ../build//boost_regex
98 ../../thread/build//boost_thread ../build//icu_options
103 : regex_regress_threaded ]
105 [ regex-test posix_api_check : c_compiler_checks/posix_api_check.c ]
107 [ compile c_compiler_checks/wide_posix_api_check.c
108 : : wide_posix_api_check_c ]
110 [ regex-test posix_api_check_cpp : c_compiler_checks/posix_api_check.cpp ]
112 [ regex-test wide_posix_api_check_cpp
113 : c_compiler_checks/wide_posix_api_check.cpp ]
115 [ run pathology/bad_expression_test.cpp
116 ../build//boost_regex
119 [ run pathology/recursion_test.cpp
120 ../build//boost_regex
123 [ run named_subexpressions/named_subexpressions_test.cpp
124 ../build//boost_regex
127 [ run unicode/unicode_iterator_test.cpp ../build//boost_regex : : : release <define>TEST_UTF8 : unicode_iterator_test_utf8 ]
128 [ run unicode/unicode_iterator_test.cpp ../build//boost_regex : : : release <define>TEST_UTF16 : unicode_iterator_test_utf16 ]
129 [ run static_mutex/static_mutex_test.cpp
130 ../../thread/build//boost_thread ../build//boost_regex
132 [ run object_cache/object_cache_test.cpp ../build//boost_regex
135 [ run config_info/regex_config_info.cpp
136 ../build//boost_regex/<link>static
139 : <test-info>always_show_run_output
141 [ run config_info/regex_config_info.cpp ../build//boost_regex
144 : <test-info>always_show_run_output
145 : regex_dll_config_info
148 [ run collate_info/collate_info.cpp ../build//boost_regex
149 : : : <test-info>always_show_run_output : test_collate_info ]
152 [ compile concepts/concept_check.cpp ../build//boost_regex
154 [ compile concepts/icu_concept_check.cpp ../build//boost_regex
159 captures/captures_test.cpp
160 captures//boost_regex_extra
165 <define>BOOST_REGEX_MATCH_EXTRA=1
166 <define>BOOST_REGEX_NO_LIB=1
171 [ run regress/$(R_SOURCE) .//boost_regex_recursive
172 ../build//icu_options
176 <define>BOOST_REGEX_RECURSIVE=1
177 : regex_regress_recursive ]
179 [ run regress/$(R_SOURCE) ./noeh_test//boost_regex_noeh
180 ../build//icu_options
184 <define>BOOST_NO_EXCEPTIONS=1
185 <exception-handling>off
188 : regex_regress_noeh ]
192 compile test_consolidated.cpp ;
194 build-project ../example ;