• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
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    ;
36
37
38for 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
39{
40   exe $(source:B) : $(source) ;
41   install $(source:B)_bin : $(source:B) : <location>bin ;
42}
43
44exe generate_rational_code : generate_rational_code.cpp ;
45exe process_perf_results : process_perf_results.cpp ../../regex/build//boost_regex ;
46
47install bin : generate_rational_code process_perf_results ;
48