mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-07-26 12:04:15 -04:00
Squashed 'boost/' content from commit b4feb19f2
git-subtree-dir: boost git-subtree-split: b4feb19f287ee92d87a9624b5d36b7cf46aeadeb
This commit is contained in:
@@ -0,0 +1,127 @@
|
||||
# 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 testing ;
|
||||
import pch ;
|
||||
|
||||
project
|
||||
: requirements
|
||||
<toolset>intel-win:<cxxflags>-nologo
|
||||
<toolset>intel-win:<linkflags>-nologo
|
||||
#<toolset>intel-linux:<pch>off
|
||||
<toolset>intel-darwin:<pch>off
|
||||
<toolset>msvc-7.1:<pch>off
|
||||
<toolset>gcc,<target-os>windows:<pch>off
|
||||
#<toolset>gcc:<cxxflags>-fvisibility=hidden
|
||||
<toolset>intel-linux:<cxxflags>-fvisibility=hidden
|
||||
#<toolset>sun:<cxxflags>-xldscope=hidden
|
||||
[ check-target-builds ../config//has_gcc_visibility "gcc visibility" : <toolset>gcc:<cxxflags>-fvisibility=hidden : ]
|
||||
;
|
||||
|
||||
cpp-pch pch : ../src/tr1/pch.hpp : <include>../src/tr1 <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1 ;
|
||||
|
||||
C99_SOURCES = acosh
|
||||
asinh
|
||||
atanh
|
||||
cbrt
|
||||
copysign
|
||||
erfc
|
||||
erf
|
||||
expm1
|
||||
fmax
|
||||
fmin
|
||||
fpclassify
|
||||
hypot
|
||||
lgamma
|
||||
llround
|
||||
log1p
|
||||
lround
|
||||
nextafter
|
||||
nexttoward
|
||||
round
|
||||
tgamma
|
||||
trunc ;
|
||||
|
||||
TR1_SOURCES =
|
||||
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
|
||||
;
|
||||
|
||||
# Configure checks.
|
||||
|
||||
import project ;
|
||||
import configure ;
|
||||
import property ;
|
||||
import property-set ;
|
||||
import targets ;
|
||||
|
||||
obj long_double_check : ../config/has_long_double_support.cpp ;
|
||||
explicit long_double_check ;
|
||||
|
||||
# Library targets
|
||||
lib boost_math_tr1 : ../src/tr1/$(TR1_SOURCES).cpp pch
|
||||
:
|
||||
<link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
|
||||
<include>../src/tr1
|
||||
;
|
||||
|
||||
lib boost_math_tr1f : ../src/tr1/$(TR1_SOURCES)f.cpp pch
|
||||
:
|
||||
<link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
|
||||
<include>../src/tr1
|
||||
;
|
||||
|
||||
lib boost_math_tr1l : ../src/tr1/$(TR1_SOURCES)l.cpp pch
|
||||
:
|
||||
<link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
|
||||
<dependency>../config//has_long_double_support
|
||||
<include>../src/tr1
|
||||
[ check-target-builds ../config//has_long_double_support "long double support" : : <build>no ]
|
||||
;
|
||||
|
||||
lib boost_math_c99 : ../src/tr1/$(C99_SOURCES).cpp pch
|
||||
:
|
||||
<link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
|
||||
<include>../src/tr1
|
||||
;
|
||||
|
||||
lib boost_math_c99f : ../src/tr1/$(C99_SOURCES)f.cpp pch
|
||||
:
|
||||
<link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
|
||||
<include>../src/tr1
|
||||
;
|
||||
|
||||
lib boost_math_c99l : ../src/tr1/$(C99_SOURCES)l.cpp pch
|
||||
:
|
||||
<link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
|
||||
<dependency>../config//has_long_double_support
|
||||
<include>../src/tr1
|
||||
[ check-target-builds ../config//has_long_double_support "long double support" : : <build>no ]
|
||||
;
|
||||
|
||||
boost-install boost_math_c99 boost_math_c99f boost_math_c99l boost_math_tr1 boost_math_tr1f boost_math_tr1l ;
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user