Jamfile.v2 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. # 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. ;
  34. for local source in [ glob *_data.cpp ] generate_test_values.cpp igamma_temme_large_coef.cpp lanczos_generator.cpp factorial_tables.cpp generate_rational_test.cpp
  35. {
  36. exe $(source:B) : $(source) ;
  37. install $(source:B)_bin : $(source:B) : <location>bin ;
  38. }
  39. exe generate_rational_code : generate_rational_code.cpp ;
  40. exe process_perf_results : process_perf_results.cpp ../../regex/build//boost_regex ;
  41. install bin : generate_rational_code process_perf_results ;