diff options
| author | Christoph Berg <myon@debian.org> | 2018-12-19 22:58:32 +0100 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2018-12-19 22:58:32 +0100 |
| commit | e0737c56c1e384e05064a0c6e1ac46979371041b (patch) | |
| tree | a0123d694a2d36c43dabdf0a3907392fce11d457 /boost/libs/math/minimax/Jamfile.v2 | |
| parent | b4aebf2d137b892f53503b13785ecae900062ff7 (diff) | |
New upstream version 2.0.0+repackupstream/2.0.0+repack
Diffstat (limited to 'boost/libs/math/minimax/Jamfile.v2')
| -rw-r--r-- | boost/libs/math/minimax/Jamfile.v2 | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/boost/libs/math/minimax/Jamfile.v2 b/boost/libs/math/minimax/Jamfile.v2 new file mode 100644 index 00000000..212ff595 --- /dev/null +++ b/boost/libs/math/minimax/Jamfile.v2 @@ -0,0 +1,52 @@ +# 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 + <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>$(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 ; + |
