# Copyright John Maddock 2010 # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt. # \math_toolkit\libs\math\test\jamfile.v2 # Runs all math toolkit tests, functions & distributions, # and build math examples. # bring in the rules for testing import modules ; import path ; local ntl-path = [ modules.peek : NTL_PATH ] ; project : requirements gcc:-Wno-missing-braces darwin:-Wno-missing-braces acc:+W2068,2461,2236,4070,4069 intel-win:-nologo intel-win:-nologo msvc:all msvc:on msvc:/wd4996 msvc:/wd4512 msvc:/wd4610 msvc:/wd4510 msvc:/wd4127 msvc:/wd4701 # needed for lexical cast - temporary. static borland:static ../../.. BOOST_ALL_NO_LIB=1 BOOST_UBLAS_UNSUPPORTED_COMPILER=0 . $(ntl-path)/include ; if $(ntl-path) { lib ntl : [ GLOB $(ntl-path)/src : *.cpp ] ; } else { lib ntl ; } exe minimax : f.cpp main.cpp ntl ; install bin : minimax ;