From 8b16a6c5fca5c25f741fbc20d680f1bd1e573591 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Mon, 11 Mar 2024 08:38:17 -0500 Subject: [PATCH 1/5] Make the library modular usable. --- build.jam | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 build.jam diff --git a/build.jam b/build.jam new file mode 100644 index 0000000..1c7df4c --- /dev/null +++ b/build.jam @@ -0,0 +1,23 @@ +# Copyright René Ferdinand Rivera Morell 2024 +# 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 project ; + +project /boost/parameter_python + : common-requirements + /boost/mpl//boost_mpl + /boost/parameter//boost_parameter + /boost/preprocessor//boost_preprocessor + /boost/python//boost_python + include + ; + +explicit + [ alias boost_parameter_python ] + [ alias all : boost_parameter_python test ] + ; + +call-if : boost-library parameter_python + ; From 2b21f3cd85393672086df2e75fdf1c4a7dc8ea46 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 29 Mar 2024 21:15:59 -0500 Subject: [PATCH 2/5] Switch to library requirements instead of source. As source puts extra source in install targets. --- build.jam | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build.jam b/build.jam index 1c7df4c..236cc6e 100644 --- a/build.jam +++ b/build.jam @@ -7,10 +7,10 @@ import project ; project /boost/parameter_python : common-requirements - /boost/mpl//boost_mpl - /boost/parameter//boost_parameter - /boost/preprocessor//boost_preprocessor - /boost/python//boost_python + /boost/mpl//boost_mpl + /boost/parameter//boost_parameter + /boost/preprocessor//boost_preprocessor + /boost/python//boost_python include ; From 134c1b9aed7a3e337cb44b82d2fa1d03b1c897d8 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sun, 5 May 2024 09:00:01 -0500 Subject: [PATCH 3/5] Add requires-b2 check to top-level build file. --- build.jam | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.jam b/build.jam index 236cc6e..9993658 100644 --- a/build.jam +++ b/build.jam @@ -3,6 +3,8 @@ # (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) +require-b2 5.1 ; + import project ; project /boost/parameter_python From 2df472e28346c2a43565e10e9e832c06ef5874e5 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 14 Jun 2024 11:33:56 -0500 Subject: [PATCH 4/5] Bump B2 require to 5.2 --- build.jam | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/build.jam b/build.jam index 9993658..b7c7593 100644 --- a/build.jam +++ b/build.jam @@ -3,9 +3,7 @@ # (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) -require-b2 5.1 ; - -import project ; +require-b2 5.2 ; project /boost/parameter_python : common-requirements From 50557938f7ae1c4be04c430333660b104c97de3b Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Tue, 23 Jul 2024 22:34:24 -0500 Subject: [PATCH 5/5] Move inter-lib dependencies to a project variable and into the build targets. --- build.jam | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/build.jam b/build.jam index b7c7593..f8d2f10 100644 --- a/build.jam +++ b/build.jam @@ -5,19 +5,22 @@ require-b2 5.2 ; +constant boost_dependencies : + /boost/mpl//boost_mpl + /boost/parameter//boost_parameter + /boost/preprocessor//boost_preprocessor + /boost/python//boost_python ; + project /boost/parameter_python : common-requirements - /boost/mpl//boost_mpl - /boost/parameter//boost_parameter - /boost/preprocessor//boost_preprocessor - /boost/python//boost_python include ; explicit - [ alias boost_parameter_python ] + [ alias boost_parameter_python : : : : $(boost_dependencies) ] [ alias all : boost_parameter_python test ] ; call-if : boost-library parameter_python ; +