summaryrefslogtreecommitdiff
path: root/boost/libs/math/config/Jamfile.v2
diff options
context:
space:
mode:
Diffstat (limited to 'boost/libs/math/config/Jamfile.v2')
-rw-r--r--boost/libs/math/config/Jamfile.v239
1 files changed, 39 insertions, 0 deletions
diff --git a/boost/libs/math/config/Jamfile.v2 b/boost/libs/math/config/Jamfile.v2
new file mode 100644
index 00000000..46fe9879
--- /dev/null
+++ b/boost/libs/math/config/Jamfile.v2
@@ -0,0 +1,39 @@
+# copyright John Maddock 2008
+# 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.
+
+import modules ;
+import path ;
+
+local ntl-path = [ modules.peek : NTL_PATH ] ;
+local gmp_path = [ modules.peek : GMP_PATH ] ;
+local e_float_path = [ modules.peek : E_FLOAT_PATH ] ;
+
+lib quadmath ;
+
+obj has_long_double_support : has_long_double_support.cpp ;
+obj has_mpfr_class : has_mpfr_class.cpp :
+ <include>$(gmp_path) <include>$(gmp_path)/mpfr <include>$(gmp_path)/gmpfrxx ;
+obj has_mpreal : has_mpreal.cpp :
+ <include>$(gmp_path) <include>$(gmp_path)/mpfr <include>$(gmp_path)/mpfrc++ ;
+obj has_ntl_rr : has_ntl_rr.cpp : <include>$(ntl-path)/include ;
+obj has_gmpxx : has_gmpxx.cpp :
+ <include>$(gmp_path) <include>$(gmp_path)/mpfr <include>$(gmp_path)/gmpfrxx ;
+obj has_gcc_visibility : has_gcc_visibility.cpp :
+ <toolset>gcc:<cxxflags>-fvisibility=hidden <toolset>gcc:<cxxflags>-Werror ;
+obj has_e_float : has_e_float.cpp : <include>$(e_float_path) ;
+exe has_float128 : has_float128.cpp quadmath ;
+exe has_intel_quad : has_intel_quad.cpp : <cxxflags>-Qoption,cpp,--extended_float_type ;
+obj has_128bit_floatmax_t : has_128bit_floatmax_t.cpp ;
+
+explicit has_long_double_support ;
+explicit has_mpfr_class ;
+explicit has_mpreal ;
+explicit has_ntl_rr ;
+explicit has_gmpxx ;
+explicit has_gcc_visibility ;
+explicit has_e_float ;
+explicit has_float128 ;
+explicit has_intel_quad ;
+explicit has_128bit_floatmax_t ; \ No newline at end of file