• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright John Maddock 2010
2# Copyright Paul A. Bristow 2018
3# Distributed under the Boost Software License, Version 1.0.
4# (See accompanying file LICENSE_1_0.txt or copy at
5# http://www.boost.org/LICENSE_1_0.txt.
6# \math_toolkit\libs\math\minimax\jamfile.v2
7# Runs minimax using multiprecision, (rather than gmp and mpfr)
8
9# bring in the rules for testing.
10import modules ;
11import path ;
12
13project
14    : requirements
15      <toolset>gcc:<cxxflags>-Wno-missing-braces
16      <toolset>darwin:<cxxflags>-Wno-missing-braces
17      <toolset>acc:<cxxflags>+W2068,2461,2236,4070,4069
18      <toolset>intel-win:<cxxflags>-nologo
19      <toolset>intel-win:<linkflags>-nologo
20      <toolset>msvc:<warnings>all
21      <toolset>msvc:<asynch-exceptions>on
22      <toolset>msvc:<cxxflags>/wd4996
23      <toolset>msvc:<cxxflags>/wd4512
24      <toolset>msvc:<cxxflags>/wd4610
25      <toolset>msvc:<cxxflags>/wd4510
26      <toolset>msvc:<cxxflags>/wd4127
27      <toolset>msvc:<cxxflags>/wd4701 # needed for lexical cast - temporary.
28      <link>static
29      <toolset>borland:<runtime-link>static
30      <include>../../..
31      <define>BOOST_ALL_NO_LIB=1
32      <define>BOOST_UBLAS_UNSUPPORTED_COMPILER=0
33      <include>.
34      <include>../include_private
35      #<include>$(ntl-path)/include
36    ;
37
38#lib mpfr : gmp : <name>mpfr ;
39
40#lib gmp : : <name>gmp ;
41
42# exe minimax : f.cpp main.cpp gmp mpfr ;
43exe minimax : f.cpp main.cpp ;
44
45install bin : minimax ;
46
47