Jamfile.v2 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. # bring in the rules for testing.
  9. import modules ;
  10. import path ;
  11. project
  12. : requirements
  13. <toolset>gcc:<cxxflags>-Wno-missing-braces
  14. <toolset>darwin:<cxxflags>-Wno-missing-braces
  15. <toolset>acc:<cxxflags>+W2068,2461,2236,4070,4069
  16. <toolset>intel-win:<cxxflags>-nologo
  17. <toolset>intel-win:<linkflags>-nologo
  18. <toolset>msvc:<warnings>all
  19. <toolset>msvc:<asynch-exceptions>on
  20. <toolset>msvc:<cxxflags>/wd4996
  21. <toolset>msvc:<cxxflags>/wd4512
  22. <toolset>msvc:<cxxflags>/wd4610
  23. <toolset>msvc:<cxxflags>/wd4510
  24. <toolset>msvc:<cxxflags>/wd4127
  25. <toolset>msvc:<cxxflags>/wd4701 # needed for lexical cast - temporary.
  26. <link>static
  27. <toolset>borland:<runtime-link>static
  28. <include>../../..
  29. <define>BOOST_ALL_NO_LIB=1
  30. <define>BOOST_UBLAS_UNSUPPORTED_COMPILER=0
  31. <include>.
  32. <include>../include_private
  33. #<include>$(ntl-path)/include
  34. ;
  35. #lib mpfr : gmp : <name>mpfr ;
  36. #lib gmp : : <name>gmp ;
  37. # exe minimax : f.cpp main.cpp gmp mpfr ;
  38. exe minimax : f.cpp main.cpp ;
  39. install bin : minimax ;