2003-10-07 10:45:15 +00:00
|
|
|
# copyright John Maddock 2003
|
2024-04-10 08:40:31 -05:00
|
|
|
# Distributed under the Boost Software License, Version 1.0.
|
|
|
|
# (See accompanying file LICENSE_1_0.txt or copy at
|
2006-07-16 17:24:25 +00:00
|
|
|
# http://www.boost.org/LICENSE_1_0.txt.
|
2003-10-07 10:45:15 +00:00
|
|
|
|
|
|
|
project
|
2024-03-11 08:38:17 -05:00
|
|
|
: requirements
|
2024-08-07 23:46:57 -05:00
|
|
|
<library>/boost/regex//boost_regex
|
2024-07-20 19:42:20 -05:00
|
|
|
<library>/boost/timer//boost_timer
|
2024-04-10 08:40:31 -05:00
|
|
|
<threading>multi
|
2007-10-17 17:15:53 +00:00
|
|
|
<link>shared:<define>BOOST_REGEX_DYN_LINK=1
|
|
|
|
# There are unidentified linker problems on these platforms:
|
|
|
|
<toolset>mipspro-7.4:<link>static
|
|
|
|
<toolset>sun-5.9:<link>static
|
2010-05-10 12:13:49 +00:00
|
|
|
<toolset>msvc:<warnings>all
|
2024-03-11 08:38:17 -05:00
|
|
|
<toolset>gcc:<warnings>extra
|
2010-05-10 12:13:49 +00:00
|
|
|
<define>U_USING_ICU_NAMESPACE=0
|
2010-10-07 15:40:24 +00:00
|
|
|
#<toolset>gcc-mw:<link>static
|
|
|
|
#<toolset>gcc-mingw:<link>static
|
2010-08-06 09:26:12 +00:00
|
|
|
<toolset>gcc-cygwin:<link>static
|
2024-03-11 08:38:17 -05:00
|
|
|
<define>BOOST_TIMER_ENABLE_DEPRECATED
|
2003-10-07 10:45:15 +00:00
|
|
|
;
|
|
|
|
|
2006-06-07 16:38:23 +00:00
|
|
|
rule regex-test-run ( sources + : input * : name * )
|
2003-10-07 10:45:15 +00:00
|
|
|
{
|
2024-04-10 08:40:31 -05:00
|
|
|
return [
|
2003-10-07 10:45:15 +00:00
|
|
|
run
|
|
|
|
# sources
|
|
|
|
$(sources)
|
|
|
|
# dependencies
|
2024-03-11 08:38:17 -05:00
|
|
|
/boost/regex//boost_regex
|
2003-10-07 10:45:15 +00:00
|
|
|
: # additional args
|
|
|
|
$(input)
|
|
|
|
: # test-files
|
|
|
|
: # requirements
|
2006-12-31 17:25:39 +00:00
|
|
|
<toolset>msvc-7.1:<define>TEST_MFC=1 <toolset>msvc-7.0:<define>TEST_MFC=1
|
2003-10-07 10:45:15 +00:00
|
|
|
: # test name
|
2006-06-07 16:38:23 +00:00
|
|
|
$(name)
|
2003-10-07 10:45:15 +00:00
|
|
|
] ;
|
|
|
|
}
|
|
|
|
|
2024-03-11 08:38:17 -05:00
|
|
|
path-constant HERE : . ;
|
|
|
|
|
2003-10-07 10:45:15 +00:00
|
|
|
test-suite regex-examples :
|
|
|
|
|
2024-04-25 22:56:00 -05:00
|
|
|
[ regex-test-run timer/regex_timer.cpp /boost/smart_ptr//boost_smart_ptr : $(HERE)/timer/input_script.txt ]
|
2024-11-02 18:29:39 +00:00
|
|
|
[ regex-test-run grep/grep.cpp /boost/program_options//boost_program_options/<link>static : -n -b -E include $(HERE)/../include/boost/regex.hpp : test_grep ]
|
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 ]
|
2024-03-11 08:38:17 -05:00
|
|
|
[ regex-test-run snippets/partial_regex_grep.cpp : $(HERE)/../index.htm ]
|
|
|
|
[ regex-test-run snippets/partial_regex_iterate.cpp : $(HERE)/../index.htm ]
|
2003-10-07 10:45:15 +00:00
|
|
|
[ regex-test-run snippets/partial_regex_match.cpp : 1234-5678-8765-4 ]
|
2024-03-11 08:38:17 -05:00
|
|
|
[ regex-test-run snippets/regex_grep_example_1.cpp : $(HERE)/../include/boost/regex/v5/regex_iterator.hpp ]
|
|
|
|
[ regex-test-run snippets/regex_grep_example_2.cpp : $(HERE)/../include/boost/regex/v5/regex_iterator.hpp ]
|
|
|
|
[ regex-test-run snippets/regex_grep_example_3.cpp : $(HERE)/../include/boost/regex/v5/regex_iterator.hpp ]
|
|
|
|
[ regex-test-run snippets/regex_grep_example_4.cpp : $(HERE)/../include/boost/regex/v5/regex_iterator.hpp ]
|
2003-10-07 10:45:15 +00:00
|
|
|
[ regex-test-run snippets/regex_match_example.cpp : -auto ]
|
2024-03-11 08:38:17 -05:00
|
|
|
[ regex-test-run snippets/regex_merge_example.cpp : $(HERE)/../include/boost/regex/v5/regex_iterator.hpp ]
|
|
|
|
[ regex-test-run snippets/regex_replace_example.cpp : $(HERE)/../include/boost/regex/v5/regex_iterator.hpp ]
|
|
|
|
[ regex-test-run snippets/regex_search_example.cpp : $(HERE)/../include/boost/regex/v5/regex_iterator.hpp ]
|
2003-10-07 10:45:15 +00:00
|
|
|
[ regex-test-run snippets/regex_split_example_1.cpp : -auto ]
|
2024-03-11 08:38:17 -05:00
|
|
|
[ regex-test-run snippets/regex_split_example_2.cpp : $(HERE)/../doc/html/index.html ]
|
2003-10-07 10:45:15 +00:00
|
|
|
[ regex-test-run snippets/regex_token_iterator_eg_1.cpp : -auto ]
|
2024-03-11 08:38:17 -05:00
|
|
|
[ regex-test-run snippets/regex_token_iterator_eg_2.cpp : $(HERE)/../doc/html/index.html ]
|
|
|
|
[ regex-test-run snippets/regex_iterator_example.cpp : $(HERE)/../include/boost/regex/v5/regex_iterator.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
|
|
|
|
|
|
|
;
|