Jamfile.v2 710 B

1234567891011121314151617181920212223242526
  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. # bring in rules for testing
  6. import testing ;
  7. use-project boost : $(BOOST_ROOT) ;
  8. project gmp
  9. : requirements
  10. <library>/boost/test//boost_unit_test_framework
  11. ;
  12. lib libgmp : : <name>gmp <link>shared ;
  13. lib libgmpxx : : <name>gmpxx <link>shared ;
  14. test-suite "gmp"
  15. :
  16. [ run check_gmp.cpp libgmpxx libgmp : : : <link>shared:<define>BOOST_TEST_DYN_LINK=1 ]
  17. [ run gmp_integrate.cpp libgmpxx libgmp : : : <link>shared:<define>BOOST_TEST_DYN_LINK=1 ]
  18. ;