From f9a55bfbd8116c18dfbd42e715f9a850057878df Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Mon, 11 Mar 2024 08:31:50 -0500 Subject: [PATCH 1/8] Make the library modular usable. --- build.jam | 26 ++++++++++++++++++++++++++ test/Jamfile.v2 | 5 +++-- 2 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 build.jam diff --git a/build.jam b/build.jam new file mode 100644 index 00000000..db92748b --- /dev/null +++ b/build.jam @@ -0,0 +1,26 @@ +# 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/conversion + : common-requirements + /boost/assert//boost_assert + /boost/config//boost_config + /boost/core//boost_core + /boost/smart_ptr//boost_smart_ptr + /boost/throw_exception//boost_throw_exception + /boost/type_traits//boost_type_traits + /boost/typeof//boost_typeof + include + ; + +explicit + [ alias boost_conversion ] + [ alias all : boost_conversion test ] + ; + +call-if : boost-library conversion + ; diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 9ee4d4ef..b631e7ed 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -5,11 +5,12 @@ # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) # +require-b2 5.0.1 ; +import-search /boost/config/checks ; +import config : requires ; import testing ; import feature ; -import ../../config/checks/config : requires ; - project : requirements [ requires cxx11_decltype ] From 8956dbae91534f929d9c383941ed7c05f9dbe3c7 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 29 Mar 2024 21:15:58 -0500 Subject: [PATCH 2/8] Switch to library requirements instead of source. As source puts extra source in install targets. --- build.jam | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/build.jam b/build.jam index db92748b..8576b9aa 100644 --- a/build.jam +++ b/build.jam @@ -7,13 +7,13 @@ import project ; project /boost/conversion : common-requirements - /boost/assert//boost_assert - /boost/config//boost_config - /boost/core//boost_core - /boost/smart_ptr//boost_smart_ptr - /boost/throw_exception//boost_throw_exception - /boost/type_traits//boost_type_traits - /boost/typeof//boost_typeof + /boost/assert//boost_assert + /boost/config//boost_config + /boost/core//boost_core + /boost/smart_ptr//boost_smart_ptr + /boost/throw_exception//boost_throw_exception + /boost/type_traits//boost_type_traits + /boost/typeof//boost_typeof include ; From 9984b4e761a863082be6905dae2051ff2e901792 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sun, 5 May 2024 09:00:01 -0500 Subject: [PATCH 3/8] 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 8576b9aa..8015f6b0 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/conversion From f63a9a3447b44c1844ba8f73b4233215015c9241 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Mon, 13 May 2024 21:45:05 -0500 Subject: [PATCH 4/8] Update dependencies. --- build.jam | 3 --- 1 file changed, 3 deletions(-) diff --git a/build.jam b/build.jam index 8015f6b0..c00c7410 100644 --- a/build.jam +++ b/build.jam @@ -11,11 +11,8 @@ project /boost/conversion : common-requirements /boost/assert//boost_assert /boost/config//boost_config - /boost/core//boost_core /boost/smart_ptr//boost_smart_ptr /boost/throw_exception//boost_throw_exception - /boost/type_traits//boost_type_traits - /boost/typeof//boost_typeof include ; From 33fa6a6439bb38be843e12977b1e49c5c31b8338 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 14 Jun 2024 11:33:55 -0500 Subject: [PATCH 5/8] 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 c00c7410..4205a53a 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/conversion : common-requirements From ff6254cb6c061fd5cb25a3f60591a0fc668a7c68 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sat, 20 Jul 2024 22:52:04 -0500 Subject: [PATCH 6/8] Update copyright dates. --- build.jam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.jam b/build.jam index 4205a53a..81e55410 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 5f51c9d0ce0061ecf078e19e61496d5c3f06586f Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Tue, 23 Jul 2024 22:34:22 -0500 Subject: [PATCH 7/8] 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 81e55410..a266ab2c 100644 --- a/build.jam +++ b/build.jam @@ -5,19 +5,22 @@ require-b2 5.2 ; +constant boost_dependencies : + /boost/assert//boost_assert + /boost/config//boost_config + /boost/smart_ptr//boost_smart_ptr + /boost/throw_exception//boost_throw_exception ; + project /boost/conversion : common-requirements - /boost/assert//boost_assert - /boost/config//boost_config - /boost/smart_ptr//boost_smart_ptr - /boost/throw_exception//boost_throw_exception include ; explicit - [ alias boost_conversion ] + [ alias boost_conversion : : : : $(boost_dependencies) ] [ alias all : boost_conversion test ] ; call-if : boost-library conversion ; + From 08f2b21bad3d0750271bcac173fe093b9be75bb7 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Thu, 1 Aug 2024 17:21:29 -0500 Subject: [PATCH 8/8] Update build deps. --- test/Jamfile.v2 | 1 + 1 file changed, 1 insertion(+) diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index b631e7ed..3dd61b02 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -13,6 +13,7 @@ import feature ; project : requirements + /boost/conversion//boost_conversion [ requires cxx11_decltype ] # default to all warnings on: all