From 5b67b8f3c5090a7a70a4078917e22d155f434881 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sun, 4 Feb 2024 09:24:04 -0600 Subject: [PATCH 1/6] Add modular library level build file. --- build.jam | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 build.jam diff --git a/build.jam b/build.jam new file mode 100644 index 00000000..82b193ca --- /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/hof + : common-requirements + include + ; + +explicit + [ alias boost_hof ] + [ alias all : boost_hof test ] + ; + +call-if : boost-library hof + ; From 1758089d8c3fadb447d51ceb34ef8921ab72f92a Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Mon, 11 Mar 2024 08:38:17 -0500 Subject: [PATCH 2/6] Make the library modular usable. --- test/Jamfile.v2 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 198de5bd..33207f46 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -4,12 +4,14 @@ # 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-search /boost/config/checks ; + import testing ; -import ../../config/checks/config : requires ; +import config : requires ; project hof : requirements [ requires cxx11_variadic_templates cxx11_constexpr ] - ../include/ ; rule test_all From a69565f66baa770b7e004bf6aee402e0dc43ccd1 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sun, 5 May 2024 09:00:01 -0500 Subject: [PATCH 3/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 82b193ca..d376ca54 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/hof From 3fbf4a449bbcecccb48215c2f7d79f1e878a1664 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 14 Jun 2024 11:33:55 -0500 Subject: [PATCH 4/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 d376ca54..20a49f58 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/hof : common-requirements From cdfb346db0e8ad8508d83106551b187cb5d0d6d8 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 20a49f58..aae59e77 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 979b21aa99077802e8c2daf77b18311e9a4698df 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 aae59e77..6f4de529 100644 --- a/build.jam +++ b/build.jam @@ -11,9 +11,10 @@ project /boost/hof ; explicit - [ alias boost_hof ] + [ alias boost_hof : : : : $(boost_dependencies) ] [ alias all : boost_hof test ] ; call-if : boost-library hof ; +