From 862a6ece3ec4aac99418c648b689d2282ab17337 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Mon, 11 Mar 2024 08:38:17 -0500 Subject: [PATCH 1/7] 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..bde4805 --- /dev/null +++ b/build.jam @@ -0,0 +1,23 @@ +# 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/tuple + : common-requirements + /boost/config//boost_config + /boost/core//boost_core + /boost/static_assert//boost_static_assert + /boost/type_traits//boost_type_traits + include + ; + +explicit + [ alias boost_tuple ] + [ alias all : boost_tuple test ] + ; + +call-if : boost-library tuple + ; From 716ad07a9cb18878a787169b93ab850a708ceb0b Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 29 Mar 2024 21:16:00 -0500 Subject: [PATCH 2/7] 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 bde4805..7713ee3 100644 --- a/build.jam +++ b/build.jam @@ -7,10 +7,10 @@ import project ; project /boost/tuple : common-requirements - /boost/config//boost_config - /boost/core//boost_core - /boost/static_assert//boost_static_assert - /boost/type_traits//boost_type_traits + /boost/config//boost_config + /boost/core//boost_core + /boost/static_assert//boost_static_assert + /boost/type_traits//boost_type_traits include ; From a02b9058eed7d21dfb11b7ef844b3d2b0903433a Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sun, 5 May 2024 09:00:01 -0500 Subject: [PATCH 3/7] 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 7713ee3..b533efc 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/tuple From 63c004dd14cec29236aede1a4b9868ac83049ca3 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 14 Jun 2024 11:33:56 -0500 Subject: [PATCH 4/7] 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 b533efc..7cf9d61 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/tuple : common-requirements From 56044c24f9011b34c3d11f01fa9293cfa3eb7647 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sat, 20 Jul 2024 22:52:04 -0500 Subject: [PATCH 5/7] Update copyright dates. --- build.jam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.jam b/build.jam index 7cf9d61..4e0e330 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 ccbb58b77440ee6a1c79fdb79f8bdde19242c252 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Tue, 23 Jul 2024 22:34:22 -0500 Subject: [PATCH 6/7] 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 4e0e330..38f04bf 100644 --- a/build.jam +++ b/build.jam @@ -5,19 +5,22 @@ require-b2 5.2 ; +constant boost_dependencies : + /boost/config//boost_config + /boost/core//boost_core + /boost/static_assert//boost_static_assert + /boost/type_traits//boost_type_traits ; + project /boost/tuple : common-requirements - /boost/config//boost_config - /boost/core//boost_core - /boost/static_assert//boost_static_assert - /boost/type_traits//boost_type_traits include ; explicit - [ alias boost_tuple ] + [ alias boost_tuple : : : : $(boost_dependencies) ] [ alias all : boost_tuple test ] ; call-if : boost-library tuple ; + From dc7c09d8f0da8698942d6ea2509ac62a0f4d1819 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 9 Aug 2024 22:38:12 -0500 Subject: [PATCH 7/7] Update build deps. --- test/Jamfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/Jamfile b/test/Jamfile index fe90abc..df8b5c5 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -3,6 +3,8 @@ import testing ; +project : requirements /boost/tuple//boost_tuple ; + run tuple_test_bench.cpp ; run io_test.cpp ; run another_tuple_test_bench.cpp ;