| 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. | 
|---|
| 5 |  | 
|---|
| 6 | project | 
|---|
| 7 |     : requirements <threading>multi <link>shared:<define>BOOST_REGEX_DYN_LINK=1 | 
|---|
| 8 |     ; | 
|---|
| 9 |  | 
|---|
| 10 |  | 
|---|
| 11 | rule regex-test-run ( sources + : input * : name * ) | 
|---|
| 12 | { | 
|---|
| 13 |         return [  | 
|---|
| 14 |            run | 
|---|
| 15 |              # sources | 
|---|
| 16 |              $(sources) | 
|---|
| 17 |              # dependencies | 
|---|
| 18 |              ../build//boost_regex | 
|---|
| 19 |          :  # additional args | 
|---|
| 20 |             $(input) | 
|---|
| 21 |          :  # test-files | 
|---|
| 22 |          :  # requirements | 
|---|
| 23 |          :  # test name | 
|---|
| 24 |             $(name) | 
|---|
| 25 |         ] ; | 
|---|
| 26 | } | 
|---|
| 27 |  | 
|---|
| 28 | test-suite regex-examples : | 
|---|
| 29 |  | 
|---|
| 30 | [ regex-test-run timer/regex_timer.cpp : $(BOOST_ROOT)/libs/regex/example/timer/input_script.txt ] | 
|---|
| 31 | [ 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 : test_grep ] | 
|---|
| 32 | [ regex-test-run snippets/credit_card_example.cpp ] | 
|---|
| 33 | [ regex-test-run snippets/mfc_example.cpp ] | 
|---|
| 34 | [ regex-test-run snippets/icu_example.cpp ] | 
|---|
| 35 | [ regex-test-run snippets/partial_regex_grep.cpp : $(BOOST_ROOT)/libs/regex/index.htm ] | 
|---|
| 36 | [ regex-test-run snippets/partial_regex_match.cpp : 1234-5678-8765-4 ] | 
|---|
| 37 | [ regex-test-run snippets/regex_grep_example_1.cpp : $(BOOST_ROOT)/boost/rational.hpp ] | 
|---|
| 38 | [ regex-test-run snippets/regex_grep_example_2.cpp : $(BOOST_ROOT)/boost/rational.hpp ] | 
|---|
| 39 | [ regex-test-run snippets/regex_grep_example_3.cpp : $(BOOST_ROOT)/boost/rational.hpp ] | 
|---|
| 40 | [ regex-test-run snippets/regex_grep_example_4.cpp : $(BOOST_ROOT)/boost/rational.hpp ] | 
|---|
| 41 | [ regex-test-run snippets/regex_match_example.cpp : -auto ] | 
|---|
| 42 | [ regex-test-run snippets/regex_merge_example.cpp : $(BOOST_ROOT)/boost/rational.hpp ] | 
|---|
| 43 | [ regex-test-run snippets/regex_replace_example.cpp : $(BOOST_ROOT)/boost/rational.hpp ] | 
|---|
| 44 | [ regex-test-run snippets/regex_search_example.cpp : $(BOOST_ROOT)/boost/rational.hpp ] | 
|---|
| 45 | [ regex-test-run snippets/regex_split_example_1.cpp : -auto ] | 
|---|
| 46 | [ regex-test-run snippets/regex_split_example_2.cpp : $(BOOST_ROOT)/libs/regex/doc/index.html ] | 
|---|
| 47 | [ regex-test-run snippets/regex_token_iterator_eg_1.cpp : -auto ] | 
|---|
| 48 | [ regex-test-run snippets/regex_token_iterator_eg_2.cpp : $(BOOST_ROOT)/libs/regex/doc/index.html ] | 
|---|
| 49 | [ regex-test-run snippets/regex_iterator_example.cpp : $(BOOST_ROOT)/boost/rational.hpp ] | 
|---|
| 50 | [ run snippets/captures_example.cpp | 
|---|
| 51 |   ../test/captures//boost_regex_extra | 
|---|
| 52 |   : : :  <threading>multi <define>BOOST_REGEX_MATCH_EXTRA=1 ] | 
|---|
| 53 |  | 
|---|
| 54 | ; | 
|---|
| 55 |  | 
|---|
| 56 |  | 
|---|
| 57 |  | 
|---|
| 58 |  | 
|---|
| 59 |  | 
|---|
| 60 |  | 
|---|
| 61 |  | 
|---|
| 62 |  | 
|---|