blob: f0e6af02c3013a8c50f759ca5126b30fbc6ff610 [file] [log] [blame]
Brian Silverman7c33ab22018-08-04 17:14:51 -07001# 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
8import testing ;
9use-project boost : $(BOOST_ROOT) ;
10
11project gmp
12 : requirements
13 <library>/boost/test//boost_unit_test_framework
14 ;
15
16
17lib libgmp : : <name>gmp <link>shared ;
18lib libgmpxx : : <name>gmpxx <link>shared ;
19
20test-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