12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- # Copyright John Maddock 2010
- # Copyright Paul A. Bristow 2018
- # 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\minimax\jamfile.v2
- # Runs minimax using multiprecision, (rather than gmp and mpfr)
- # bring in the rules for testing.
- import modules ;
- import path ;
- project
- : requirements
- <toolset>gcc:<cxxflags>-Wno-missing-braces
- <toolset>darwin:<cxxflags>-Wno-missing-braces
- <toolset>acc:<cxxflags>+W2068,2461,2236,4070,4069
- <toolset>intel-win:<cxxflags>-nologo
- <toolset>intel-win:<linkflags>-nologo
- <toolset>msvc:<warnings>all
- <toolset>msvc:<asynch-exceptions>on
- <toolset>msvc:<cxxflags>/wd4996
- <toolset>msvc:<cxxflags>/wd4512
- <toolset>msvc:<cxxflags>/wd4610
- <toolset>msvc:<cxxflags>/wd4510
- <toolset>msvc:<cxxflags>/wd4127
- <toolset>msvc:<cxxflags>/wd4701 # needed for lexical cast - temporary.
- <link>static
- <toolset>borland:<runtime-link>static
- <include>../../..
- <define>BOOST_ALL_NO_LIB=1
- <define>BOOST_UBLAS_UNSUPPORTED_COMPILER=0
- <include>.
- <include>../include_private
- #<include>$(ntl-path)/include
- ;
- #lib mpfr : gmp : <name>mpfr ;
- #lib gmp : : <name>gmp ;
- # exe minimax : f.cpp main.cpp gmp mpfr ;
- exe minimax : f.cpp main.cpp ;
- install bin : minimax ;
|