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
23 <toolset>sun:<link>static
27 # rule for simple regex test programs:
29 rule regex-test ( name : sources + : requirements * : input-files * )
31 return [ run $(sources) ../build//boost_regex
51 test_non_greedy_repeats.cpp
55 test_simple_repeats.cpp
63 lib boost_regex_recursive :
64 ../src/c_regex_traits.cpp
65 ../src/cpp_regex_traits.cpp
72 ../src/regex_debug.cpp
73 ../src/regex_raw_buffer.cpp
74 ../src/regex_traits_defaults.cpp
75 ../src/static_mutex.cpp
76 ../src/w32_regex_traits.cpp
77 ../src/wc_regex_traits.cpp
78 ../src/wide_posix_api.cpp
80 ../src/usinstances.cpp
83 <define>BOOST_REGEX_RECURSIVE=1
84 <link>shared:<define>BOOST_REGEX_DYN_LINK=1
88 local regress-sources = regress/$(R_SOURCE) ;
92 [ run regress/$(R_SOURCE) ../build//boost_regex ../build//icu_options
98 [ run regress/$(R_SOURCE) ../build//boost_regex
99 ../../thread/build//boost_thread ../build//icu_options
104 : regex_regress_threaded ]
106 [ regex-test posix_api_check : c_compiler_checks/posix_api_check.c ]
108 [ compile c_compiler_checks/wide_posix_api_check.c
109 : : wide_posix_api_check_c ]
111 [ regex-test posix_api_check_cpp : c_compiler_checks/posix_api_check.cpp ]
113 [ regex-test wide_posix_api_check_cpp
114 : c_compiler_checks/wide_posix_api_check.cpp ]
116 [ run pathology/bad_expression_test.cpp
117 ../build//boost_regex
120 [ run pathology/recursion_test.cpp
121 ../build//boost_regex
124 [ run named_subexpressions/named_subexpressions_test.cpp
125 ../build//boost_regex
128 [ run unicode/unicode_iterator_test.cpp ../build//boost_regex : : : release <define>TEST_UTF8 : unicode_iterator_test_utf8 ]
129 [ run unicode/unicode_iterator_test.cpp ../build//boost_regex : : : release <define>TEST_UTF16 : unicode_iterator_test_utf16 ]
130 [ run static_mutex/static_mutex_test.cpp
131 ../../thread/build//boost_thread ../build//boost_regex
133 [ run object_cache/object_cache_test.cpp ../build//boost_regex
136 [ run config_info/regex_config_info.cpp
137 ../build//boost_regex/<link>static
140 : <test-info>always_show_run_output
142 [ run config_info/regex_config_info.cpp ../build//boost_regex
145 : <test-info>always_show_run_output
146 : regex_dll_config_info
149 [ run collate_info/collate_info.cpp ../build//boost_regex
150 : : : <test-info>always_show_run_output : test_collate_info ]
153 [ link concepts/concept_check.cpp ../build//boost_regex ]
154 [ link concepts/icu_concept_check.cpp ../build//boost_regex ]
155 [ link concepts/range_concept_check.cpp ../build//boost_regex ]
156 [ run concepts/test_bug_11988.cpp ../build//boost_regex ]
160 captures/captures_test.cpp
161 captures//boost_regex_extra ../build//icu_options
166 <define>BOOST_REGEX_MATCH_EXTRA=1
167 <define>BOOST_REGEX_NO_LIB=1
172 [ run regress/$(R_SOURCE) .//boost_regex_recursive
173 ../build//icu_options
177 <define>BOOST_REGEX_RECURSIVE=1
178 : regex_regress_recursive ]
180 [ run regress/$(R_SOURCE) ./noeh_test//boost_regex_noeh
181 ../build//icu_options
185 <define>BOOST_NO_EXCEPTIONS=1
186 <exception-handling>off
189 : regex_regress_noeh ]
193 compile test_consolidated.cpp ;
195 build-project ../example ;