Brian Silverman | 7c33ab2 | 2018-08-04 17:14:51 -0700 | [diff] [blame^] | 1 | # Copyright 2012 Karsten Ahnert |
| 2 | # Copyright 2012 Mario Mulansky |
| 3 | # Distributed under the Boost Software License, Version 1.0. |
| 4 | # (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
| 5 | |
| 6 | # bring in rules for testing |
| 7 | |
| 8 | import testing ; |
| 9 | use-project boost : $(BOOST_ROOT) ; |
| 10 | |
| 11 | project gmp |
| 12 | : requirements |
| 13 | <library>/boost/test//boost_unit_test_framework |
| 14 | ; |
| 15 | |
| 16 | |
| 17 | lib libgmp : : <name>gmp <link>shared ; |
| 18 | lib libgmpxx : : <name>gmpxx <link>shared ; |
| 19 | |
| 20 | test-suite "gmp" |
| 21 | : |
| 22 | [ run check_gmp.cpp libgmpxx libgmp : : : <link>shared:<define>BOOST_TEST_DYN_LINK=1 ] |
| 23 | [ run gmp_integrate.cpp libgmpxx libgmp : : : <link>shared:<define>BOOST_TEST_DYN_LINK=1 ] |
| 24 | ; |
| 25 | |
| 26 | |