From 2823cf14276eb38d530425aff28706817ad884c5 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Mon, 11 Mar 2024 08:38:17 -0500 Subject: [PATCH 1/6] Make the library modular usable. --- build.jam | 19 +++++++++++++++++++ test/Jamfile | 7 ++++++- 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 build.jam diff --git a/build.jam b/build.jam new file mode 100644 index 00000000..be164da6 --- /dev/null +++ b/build.jam @@ -0,0 +1,19 @@ +# Copyright René Ferdinand Rivera Morell 2023 +# 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/mp11 + : common-requirements + include + ; + +explicit + [ alias boost_mp11 ] + [ alias all : boost_mp11 test ] + ; + +call-if : boost-library mp11 + ; diff --git a/test/Jamfile b/test/Jamfile index 8fc035c9..5a373fad 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -6,11 +6,16 @@ # See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt +import-search /boost/config/checks ; + import testing ; -import ../../config/checks/config : requires ; +import config : requires ; project : requirements + /boost/config//boost_config + /boost/core//boost_core + /boost/mpl//boost_mpl [ requires cxx11_variadic_templates cxx11_template_aliases cxx11_decltype cxx11_hdr_tuple ] From 17063560131a1c96bdf4abde2442266956f1f185 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sun, 5 May 2024 09:00:01 -0500 Subject: [PATCH 2/6] 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 be164da6..a8d926ec 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/mp11 From 10382447522b10bc20661c408a27a39fd36bfa22 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 14 Jun 2024 11:33:56 -0500 Subject: [PATCH 3/6] 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 a8d926ec..bb672db3 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/mp11 : common-requirements From 86621c74c3398ab8ba35565c1832106c39ccdc7e Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sat, 20 Jul 2024 19:40:50 -0500 Subject: [PATCH 4/6] Change all references to . --- test/Jamfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/Jamfile b/test/Jamfile index 5a373fad..ff202671 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -13,9 +13,9 @@ import config : requires ; project : requirements - /boost/config//boost_config - /boost/core//boost_core - /boost/mpl//boost_mpl + /boost/config//boost_config + /boost/core//boost_core + /boost/mpl//boost_mpl [ requires cxx11_variadic_templates cxx11_template_aliases cxx11_decltype cxx11_hdr_tuple ] From d591bc7a2ab6772476fcccfeef006c4122fec1c6 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sat, 20 Jul 2024 22:52:05 -0500 Subject: [PATCH 5/6] Update copyright dates. --- build.jam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.jam b/build.jam index bb672db3..1d041455 100644 --- a/build.jam +++ b/build.jam @@ -1,4 +1,4 @@ -# Copyright René Ferdinand Rivera Morell 2023 +# Copyright René Ferdinand Rivera Morell 2023-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) From ffd385ec4a9a8d9456c7a16aaec68c766177f560 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Tue, 23 Jul 2024 22:34:24 -0500 Subject: [PATCH 6/6] Move inter-lib dependencies to a project variable and into the build targets. --- build.jam | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.jam b/build.jam index 1d041455..c7536a09 100644 --- a/build.jam +++ b/build.jam @@ -11,9 +11,10 @@ project /boost/mp11 ; explicit - [ alias boost_mp11 ] + [ alias boost_mp11 : : : : $(boost_dependencies) ] [ alias all : boost_mp11 test ] ; call-if : boost-library mp11 ; +