1#~ Copyright Rene Rivera 2008 2#~ Distributed under the Boost Software License, Version 1.0. 3#~ (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt) 4 5import testing ; 6import ../../config/checks/config : requires ; 7 8project : requirements <warnings>all <toolset>gcc:<cxxflags>-Wextra ; 9 10obj has_gmpxx : has_gmpxx.cpp ; 11explicit has_gmpxx ; 12 13test-suite integer 14 : 15 [ run integer_traits_test.cpp ] 16 [ run integer_test.cpp : : : <toolset>gcc:<cxxflags>-Wno-long-long <toolset>darwin:<cxxflags>-Wno-long-long <toolset>sun:<cxxflags>"-Qoption ccfe -tmpldepth=128" ] 17 [ run integer_mask_test.cpp ] 18 [ run static_log2_test.cpp ] 19 [ run static_min_max_test.cpp ] 20 [ run extended_euclidean_test.cpp ] 21 [ run mod_inverse_test.cpp ] 22 [ compile integer_traits_include_test.cpp ] 23 [ compile integer_include_test.cpp ] 24 [ compile integer_mask_include_test.cpp ] 25 [ compile static_log2_include_test.cpp ] 26 [ compile static_min_max_include_test.cpp ] 27 [ compile integer_fwd_include_test.cpp ] 28 [ compile gcd_constexpr14_test.cpp ] 29 [ compile gcd_noexcept_test.cpp ] 30 [ compile-fail fail_int_exact.cpp ] 31 [ compile-fail fail_int_fast.cpp ] 32 [ compile-fail fail_int_least.cpp ] 33 [ compile-fail fail_uint_exact.cpp ] 34 [ compile-fail fail_uint_fast.cpp ] 35 [ compile-fail fail_uint_least.cpp ] 36 [ compile-fail fail_uint_65.cpp ] 37 [ run common_factor_test.cpp : : : [ check-target-builds has_gmpxx "Checking for gmpxx.h" : <define>BOOST_INTEGER_HAS_GMPXX_H=1 <linkflags>-lgmp <linkflags>-lgmpxx ] ] 38 ; 39