Brian Silverman | fad8f55 | 2018-08-04 23:36:19 -0700 | [diff] [blame^] | 1 | # Boost Container Library Test Jamfile |
| 2 | |
| 3 | # (C) Copyright Ion Gaztanaga 2009-2013. |
| 4 | # Use, modification and distribution are subject to the |
| 5 | # Boost Software License, Version 1.0. (See accompanying file |
| 6 | # LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
| 7 | |
| 8 | # Adapted from John Maddock's TR1 Jamfile.v2 |
| 9 | # Copyright John Maddock 2005. |
| 10 | # Use, modification and distribution are subject to the |
| 11 | # Boost Software License, Version 1.0. (See accompanying file |
| 12 | # LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
| 13 | |
| 14 | project |
| 15 | : requirements |
| 16 | <link>shared:<define>BOOST_CONTAINER_DYN_LINK=1 |
| 17 | <toolset>gcc-cygwin:<link>static |
| 18 | ; |
| 19 | |
| 20 | # this rule enumerates through all the sources and invokes |
| 21 | # the run rule for each source, the result is a list of all |
| 22 | # the run rules, which we can pass on to the test_suite rule: |
| 23 | |
| 24 | rule test_all |
| 25 | { |
| 26 | local all_rules = ; |
| 27 | |
| 28 | for local fileb in [ glob *.cpp ] |
| 29 | { |
| 30 | all_rules += [ run $(fileb) /boost/container//boost_container |
| 31 | : # additional args |
| 32 | : # test-files |
| 33 | : # requirements |
| 34 | ] ; |
| 35 | } |
| 36 | |
| 37 | return $(all_rules) ; |
| 38 | } |
| 39 | |
| 40 | test-suite container_test : [ test_all r ] ; |