# copyright John Maddock 2003 # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt. project : requirements /boost/regex//boost_regex /boost/detail//boost_detail multi shared:BOOST_REGEX_DYN_LINK=1 msvc-7.1:TEST_MFC=1 msvc-7.0:TEST_MFC=1 # There are unidentified linker problems on these platforms: mipspro-7.4:static sun-5.9:static all gcc:-Wextra gcc:-Wshadow U_USING_ICU_NAMESPACE=0 #gcc-mw:static #gcc-mingw:static #gcc-cygwin:static sun:static ../src . ; # # rule for simple regex test programs: # rule regex-test ( name : sources + : requirements * : input-files * ) { return [ run $(sources) /boost/regex//boost_regex : : $(input-files) : $(requirements) : $(name) ] ; } R_SOURCE = basic_tests.cpp main.cpp wmain.cpp test_alt.cpp test_anchors.cpp test_asserts.cpp test_backrefs.cpp test_deprecated.cpp test_emacs.cpp test_escapes.cpp test_grep.cpp test_locale.cpp test_mfc.cpp test_non_greedy_repeats.cpp test_perl_ex.cpp test_replace.cpp test_sets.cpp test_simple_repeats.cpp test_tricky_cases.cpp test_icu.cpp test_unicode.cpp test_overloads.cpp test_operators.cpp ; local regress-sources = regress/$(R_SOURCE) ; run regress/$(R_SOURCE) ../build//boost_regex ../build//icu_options : # command line : # input files : # requirements : regex_regress ; run regress/$(R_SOURCE) ../build//boost_regex /boost/thread//boost_thread ../build//icu_options : # command line : # input files : # requirements TEST_THREADS : regex_regress_threaded ; run regress/$(R_SOURCE) ../build//boost_regex /boost/thread//boost_thread ../build//icu_options : # command line : # input files : # requirements TEST_THREADS BOOST_REGEX_MAX_CACHE_BLOCKS=0 : regex_regress_threaded_no_cache ; regex-test posix_api_check : c_compiler_checks/posix_api_check.c ; compile c_compiler_checks/wide_posix_api_check.c : : wide_posix_api_check_c ; regex-test posix_api_check_cpp : c_compiler_checks/posix_api_check.cpp ; regex-test wide_posix_api_check_cpp : c_compiler_checks/wide_posix_api_check.cpp ; run pathology/bad_expression_test.cpp ; run pathology/recursion_test.cpp ; run named_subexpressions/named_subexpressions_test.cpp ; run unicode/unicode_iterator_test.cpp : : : release TEST_UTF8 : unicode_iterator_test_utf8 ; run unicode/unicode_iterator_test.cpp : : : release TEST_UTF16 : unicode_iterator_test_utf16 ; run unicode/unicode_casefold_test.cpp ../build//boost_regex ../build//icu_options ; run object_cache/object_cache_test.cpp ; run config_info/regex_config_info.cpp ../build//boost_regex/static : : : always_show_run_output ; run config_info/regex_config_info.cpp ../build//boost_regex : : : always_show_run_output : regex_dll_config_info ; run collate_info/collate_info.cpp ../build//boost_regex : : : always_show_run_output : test_collate_info ; link concepts/concept_check.cpp /boost/range//boost_range : gcc:-Wno-deprecated-copy ; link concepts/concept_check.cpp : BOOST_REGEX_STANDALONE gcc:-Wno-deprecated-copy : standalone_concept_check ; link concepts/icu_concept_check.cpp : BOOST_REGEX_STANDALONE gcc:-Wno-deprecated-copy ; link concepts/icu_concept_check.cpp : gcc:-Wno-deprecated-copy : standalone_icu_concept_check ; link concepts/range_concept_check.cpp : gcc:-Wno-deprecated-copy /boost/range//boost_range ; run concepts/test_bug_11988.cpp ; run captures/captures_test.cpp ../build//icu_options /boost/array//boost_array : : : multi BOOST_REGEX_MATCH_EXTRA=1 BOOST_REGEX_NO_LIB=1 : captures_test ; run regress/$(R_SOURCE) ./noeh_test//boost_regex_noeh ../build//icu_options : : : BOOST_NO_EXCEPTIONS=1 off static shared : regex_regress_noeh ; compile test_consolidated.cpp ; build-project ../example ; # `quick` target (for CI) run quick.cpp ../build//boost_regex ; compile test_warnings.cpp : msvc:all msvc:on gcc:all gcc:on clang:all clang:on ; compile test_warnings.cpp : msvc:all msvc:on gcc:all gcc:on clang:all clang:on BOOST_REGEX_STANDALONE : test_warnings_standalone ; compile test_windows_defs_1.cpp ; compile test_windows_defs_2.cpp ; compile test_windows_defs_3.cpp ; compile test_windows_defs_4.cpp ; run issue153.cpp : : : "msvc:-STACK:2097152" ; run issue227.cpp ; run issue232.cpp ; run lookbehind_recursion_stress_test.cpp ;