|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r51080 - sandbox/SCons/libs/math/build
From: loonycyborg_at_[hidden]
Date: 2009-02-07 15:33:12
Author: loonycyborg
Date: 2009-02-07 15:33:12 EST (Sat, 07 Feb 2009)
New Revision: 51080
URL: http://svn.boost.org/trac/boost/changeset/51080
Log:
Added support for Boost.Math
Added:
sandbox/SCons/libs/math/build/SConscript (contents, props changed)
Added: sandbox/SCons/libs/math/build/SConscript
==============================================================================
--- (empty file)
+++ sandbox/SCons/libs/math/build/SConscript 2009-02-07 15:33:12 EST (Sat, 07 Feb 2009)
@@ -0,0 +1,59 @@
+# vi: syntax=python:et:ts=4
+Import("env")
+
+env["BOOST_LIB"] = "MATH_TR1"
+
+sources = {
+"c99" : Split("""
+ acosh
+ asinh
+ atanh
+ cbrt
+ copysign
+ erfc
+ erf
+ expm1
+ fmax
+ fmin
+ fpclassify
+ hypot
+ lgamma
+ llround
+ log1p
+ lround
+ nextafter
+ nexttoward
+ round
+ tgamma
+ trunc
+ """),
+"tr1" : Split("""
+ assoc_laguerre
+ assoc_legendre
+ beta
+ comp_ellint_1
+ comp_ellint_2
+ comp_ellint_3
+ cyl_bessel_i
+ cyl_bessel_j
+ cyl_bessel_k
+ cyl_neumann
+ ellint_1
+ ellint_2
+ ellint_3
+ expint
+ hermite
+ laguerre
+ legendre
+ riemann_zeta
+ sph_bessel
+ sph_legendre
+ sph_neumann
+ """)
+ }
+for std in ["c99", "tr1"]:
+ for type in ["", "f", "l"]:
+ env.Alias("math", env.BoostLibrary("math_" + std + type,
+ map(lambda src : "tr1/" + src + type + ".cpp", sources[std])
+ )
+ )
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk