summaryrefslogtreecommitdiff
path: root/Jamroot
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2017-09-13 02:05:34 (GMT)
committerDongHun Kwak <dh0128.kwak@samsung.com>2017-09-13 02:06:28 (GMT)
commit34bd32e225e2a8a94104489b31c42e5801cc1f4a (patch)
treed021b579a0c190354819974e1eaf0baa54b551f3 /Jamroot
parentf763a99a501650eff2c60288aa6f10ef916d769e (diff)
downloadboost-34bd32e225e2a8a94104489b31c42e5801cc1f4a.zip
boost-34bd32e225e2a8a94104489b31c42e5801cc1f4a.tar.gz
boost-34bd32e225e2a8a94104489b31c42e5801cc1f4a.tar.bz2
Imported Upstream version 1.63.0upstream/1.63.0refs/changes/04/149704/1
Change-Id: Iac85556a04b7e58d63ba636dedb0986e3555714a Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'Jamroot')
-rw-r--r--Jamroot23
1 files changed, 22 insertions, 1 deletions
diff --git a/Jamroot b/Jamroot
index 6173272..9250854 100644
--- a/Jamroot
+++ b/Jamroot
@@ -131,7 +131,7 @@ import path ;
import link ;
path-constant BOOST_ROOT : . ;
-constant BOOST_VERSION : 1.62.0 ;
+constant BOOST_VERSION : 1.63.0 ;
constant BOOST_JAMROOT_MODULE : $(__name__) ;
boostcpp.set-version $(BOOST_VERSION) ;
@@ -182,6 +182,11 @@ rule tag ( name : type ? : property-set )
return [ boostcpp.tag $(name) : $(type) : $(property-set) ] ;
}
+rule python-tag ( name : type ? : property-set )
+{
+ return [ boostcpp.python-tag $(name) : $(type) : $(property-set) ] ;
+}
+
rule handle-static-runtime ( properties * )
{
# Using static runtime with shared libraries is impossible on Linux, and
@@ -278,6 +283,22 @@ rule boost-install ( libraries * )
}
}
+# Creates a library target, adding autolink support and also creates
+# stage and install targets via boost-install, above.
+rule boost-lib ( name : sources * : requirements * : default-build * : usage-requirements * )
+{
+ name = boost_$(name) ;
+ autolink = <link>shared:<define>BOOST_$(name:U)_DYN_LINK=1 ;
+ lib $(name)
+ : $(sources)
+ : $(requirements) $(autolink)
+ : $(default-build)
+ : $(usage-requirements) $(autolink)
+ ;
+ boost-install $(name) ;
+}
+
+
headers =
# The .SUNWCCh files are present in tr1 include directory and have to be
# installed (see http://lists.boost.org/Archives/boost/2007/05/121430.php).