2003-10-07 10:45:15 +00:00
|
|
|
# copyright John Maddock 2003
|
|
|
|
|
|
|
|
project
|
2005-01-13 17:06:21 +00:00
|
|
|
: requirements <threading>multi <link>shared:<define>BOOST_REGEX_DYN_LINK=1
|
2003-10-07 10:45:15 +00:00
|
|
|
;
|
|
|
|
|
|
|
|
|
|
|
|
rule regex-test-run ( sources + : input * )
|
|
|
|
{
|
|
|
|
return [
|
|
|
|
run
|
|
|
|
# sources
|
|
|
|
$(sources)
|
|
|
|
# dependencies
|
|
|
|
../build//boost_regex
|
|
|
|
: # additional args
|
|
|
|
$(input)
|
|
|
|
: # test-files
|
|
|
|
: # requirements
|
|
|
|
: # test name
|
|
|
|
] ;
|
|
|
|
}
|
|
|
|
|
|
|
|
test-suite regex-examples :
|
|
|
|
|
|
|
|
[ regex-test-run timer/regex_timer.cpp : $(BOOST_ROOT)/libs/regex/example/timer/input_script.txt ]
|
2006-02-16 09:21:55 +00:00
|
|
|
[ regex-test-run grep/grep.cpp ../../program_options/build//boost_program_options/<link>static : -n -b $(BOOST_ROOT)/boost/regex.hpp $(BOOST_ROOT)/boost/type_traits.hpp ]
|
2003-10-07 10:45:15 +00:00
|
|
|
[ regex-test-run snippets/credit_card_example.cpp ]
|
2005-01-13 17:06:21 +00:00
|
|
|
[ regex-test-run snippets/mfc_example.cpp ]
|
|
|
|
[ regex-test-run snippets/icu_example.cpp ]
|
2003-10-07 10:45:15 +00:00
|
|
|
[ regex-test-run snippets/partial_regex_grep.cpp : $(BOOST_ROOT)/libs/regex/index.htm ]
|
|
|
|
[ regex-test-run snippets/partial_regex_match.cpp : 1234-5678-8765-4 ]
|
|
|
|
[ regex-test-run snippets/regex_grep_example_1.cpp : $(BOOST_ROOT)/boost/rational.hpp ]
|
|
|
|
[ regex-test-run snippets/regex_grep_example_2.cpp : $(BOOST_ROOT)/boost/rational.hpp ]
|
|
|
|
[ regex-test-run snippets/regex_grep_example_3.cpp : $(BOOST_ROOT)/boost/rational.hpp ]
|
|
|
|
[ regex-test-run snippets/regex_grep_example_4.cpp : $(BOOST_ROOT)/boost/rational.hpp ]
|
|
|
|
[ regex-test-run snippets/regex_match_example.cpp : -auto ]
|
|
|
|
[ regex-test-run snippets/regex_merge_example.cpp : $(BOOST_ROOT)/boost/rational.hpp ]
|
|
|
|
[ regex-test-run snippets/regex_replace_example.cpp : $(BOOST_ROOT)/boost/rational.hpp ]
|
|
|
|
[ regex-test-run snippets/regex_search_example.cpp : $(BOOST_ROOT)/boost/rational.hpp ]
|
|
|
|
[ regex-test-run snippets/regex_split_example_1.cpp : -auto ]
|
|
|
|
[ regex-test-run snippets/regex_split_example_2.cpp : $(BOOST_ROOT)/libs/regex/doc/index.html ]
|
|
|
|
[ regex-test-run snippets/regex_token_iterator_eg_1.cpp : -auto ]
|
|
|
|
[ regex-test-run snippets/regex_token_iterator_eg_2.cpp : $(BOOST_ROOT)/libs/regex/doc/index.html ]
|
|
|
|
[ regex-test-run snippets/regex_iterator_example.cpp : $(BOOST_ROOT)/boost/rational.hpp ]
|
2004-06-11 11:54:08 +00:00
|
|
|
[ run snippets/captures_example.cpp
|
|
|
|
../test/captures//boost_regex_extra
|
|
|
|
: : : <threading>multi <define>BOOST_REGEX_MATCH_EXTRA=1 ]
|
2003-10-07 10:45:15 +00:00
|
|
|
|
|
|
|
;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-29 15:16:14 +00:00
|
|
|
|