]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | # Copyright John Maddock 2010 |
2 | # Distributed under the Boost Software License, Version 1.0. | |
3 | # (See accompanying file LICENSE_1_0.txt or copy at | |
4 | # http://www.boost.org/LICENSE_1_0.txt. | |
5 | # \math_toolkit\libs\math\test\jamfile.v2 | |
6 | # Runs all math toolkit tests, functions & distributions, | |
7 | # and build math examples. | |
8 | ||
9 | # bring in the rules for testing | |
10 | import modules ; | |
11 | import path ; | |
12 | ||
7c673cae FG |
13 | project |
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>. | |
b32b8144 | 34 | <include>../include_private |
7c673cae FG |
35 | <include>$(ntl-path)/include |
36 | ; | |
37 | ||
38 | ||
b32b8144 FG |
39 | lib mpfr : gmp : <name>mpfr ; |
40 | ||
41 | lib gmp : : <name>gmp ; | |
7c673cae | 42 | |
b32b8144 | 43 | exe minimax : f.cpp main.cpp gmp mpfr ; |
7c673cae FG |
44 | |
45 | install bin : minimax ; | |
46 |