From d59d3b4c5b2b4b9bcb06ffecc814a6f8cb94347c Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Mon, 11 Mar 2024 08:38:17 -0500 Subject: [PATCH 1/9] Make the library modular usable. --- build.jam | 22 ++++++++++++++++++++++ test/Jamfile.v2 | 3 ++- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 build.jam diff --git a/build.jam b/build.jam new file mode 100644 index 0000000..d067a01 --- /dev/null +++ b/build.jam @@ -0,0 +1,22 @@ +# 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/stl_interfaces + : common-requirements + /boost/assert//boost_assert + /boost/config//boost_config + /boost/type_traits//boost_type_traits + include + ; + +explicit + [ alias boost_stl_interfaces ] + [ alias all : boost_stl_interfaces test ] + ; + +call-if : boost-library stl_interfaces + ; diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index d728ec8..a6c788f 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -7,10 +7,11 @@ # http://www.boost.org/LICENSE_1_0.txt) import testing ; -import ../../config/checks/config : requires ; +import config : requires ; project : requirements + /boost/core//boost_core [ requires cxx14_constexpr ] ; From 593921636e486753d58fcd96412b5555c7342467 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 29 Mar 2024 21:15:59 -0500 Subject: [PATCH 2/9] Switch to library requirements instead of source. As source puts extra source in install targets. --- build.jam | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.jam b/build.jam index d067a01..6642613 100644 --- a/build.jam +++ b/build.jam @@ -7,9 +7,9 @@ import project ; project /boost/stl_interfaces : common-requirements - /boost/assert//boost_assert - /boost/config//boost_config - /boost/type_traits//boost_type_traits + /boost/assert//boost_assert + /boost/config//boost_config + /boost/type_traits//boost_type_traits include ; From aa84842fd97426da1ac51fce86ee812925e691c1 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sat, 4 May 2024 23:33:14 -0500 Subject: [PATCH 3/9] Add missing import-search for cconfig/predef checks. --- test/Jamfile.v2 | 1 + 1 file changed, 1 insertion(+) diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index a6c788f..3659628 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -7,6 +7,7 @@ # http://www.boost.org/LICENSE_1_0.txt) import testing ; +import-search /boost/config/checks ; import config : requires ; project : From 891c63b40649455a5d0f44eff429d48d3ad8c30a Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sun, 5 May 2024 09:00:01 -0500 Subject: [PATCH 4/9] 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 6642613..6e14009 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/stl_interfaces From f3e8937426264f3ba393ae0baeea4355dff5143f Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 14 Jun 2024 11:33:56 -0500 Subject: [PATCH 5/9] 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 6e14009..cc12c71 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/stl_interfaces : common-requirements From ba03541b2da23cb4e984ddbd5c11ea9cb0ee83b0 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sat, 20 Jul 2024 21:26:20 -0500 Subject: [PATCH 6/9] Change all references to . --- test/Jamfile.v2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 3659628..dc25d4c 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -12,7 +12,7 @@ import config : requires ; project : requirements - /boost/core//boost_core + /boost/core//boost_core [ requires cxx14_constexpr ] ; From a7728de3f9ed4f1616e39eaa737699382a1f2bd6 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sat, 20 Jul 2024 22:52:05 -0500 Subject: [PATCH 7/9] Update copyright dates. --- build.jam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.jam b/build.jam index cc12c71..659eb41 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 5b1742fb123f6b0b146e16b5f20e88953bb1c6dc Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Tue, 23 Jul 2024 22:34:24 -0500 Subject: [PATCH 8/9] Move inter-lib dependencies to a project variable and into the build targets. --- build.jam | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/build.jam b/build.jam index 659eb41..ab2116d 100644 --- a/build.jam +++ b/build.jam @@ -5,18 +5,21 @@ require-b2 5.2 ; +constant boost_dependencies : + /boost/assert//boost_assert + /boost/config//boost_config + /boost/type_traits//boost_type_traits ; + project /boost/stl_interfaces : common-requirements - /boost/assert//boost_assert - /boost/config//boost_config - /boost/type_traits//boost_type_traits include ; explicit - [ alias boost_stl_interfaces ] + [ alias boost_stl_interfaces : : : : $(boost_dependencies) ] [ alias all : boost_stl_interfaces test ] ; call-if : boost-library stl_interfaces ; + From 6b80ef8cdacd71e69dc2c7ceb8826c9ea05b04bc Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sun, 28 Jul 2024 11:45:26 -0500 Subject: [PATCH 9/9] Adjust doc build to avoid boost-root references. --- doc/Jamfile.v2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/Jamfile.v2 b/doc/Jamfile.v2 index fbbf437..8a656f7 100644 --- a/doc/Jamfile.v2 +++ b/doc/Jamfile.v2 @@ -39,7 +39,7 @@ rule run_doxygen ( files * : name : expand ? ) } -run_doxygen [ glob $(here)/../../../boost/stl_interfaces/*.hpp ] : "Headers" ; +run_doxygen [ glob $(here)/../include/boost/stl_interfaces/*.hpp ] : "Headers" ; install images_standalone : [ glob *.png ] : html/stl_interfaces/img ; explicit images_standalone ;