From d7bb0dfb162bcb346cccf08f0cd11becc0e5c307 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 | 21 +++++++++++++++++++++ test/Jamfile.v2 | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 build.jam diff --git a/build.jam b/build.jam new file mode 100644 index 0000000..0b9e52f --- /dev/null +++ b/build.jam @@ -0,0 +1,21 @@ +# 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/throw_exception + : common-requirements + /boost/assert//boost_assert + /boost/config//boost_config + include + ; + +explicit + [ alias boost_throw_exception ] + [ alias all : boost_throw_exception test ] + ; + +call-if : boost-library throw_exception + ; diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 6f268bb..519c204 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -12,6 +12,8 @@ local gcc-flags = -Wsign-promo -Wconversion -Wsign-conversion -Wshadow -Wundef ; project : requirements + /boost/core//boost_core + /boost/exception//boost_exception extra From 502caee36e0d30330b7c3e20ad5e03537ed28d46 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.jam b/build.jam index 0b9e52f..c5294d6 100644 --- a/build.jam +++ b/build.jam @@ -7,8 +7,8 @@ import project ; project /boost/throw_exception : common-requirements - /boost/assert//boost_assert - /boost/config//boost_config + /boost/assert//boost_assert + /boost/config//boost_config include ; From 8e4c9a5f75edca9d701ab689dac439bf0e9c5116 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 c5294d6..6aa6637 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/throw_exception From 13124487d2798f65d054420e2d7436df5a8a0093 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 6aa6637..df6615e 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/throw_exception : common-requirements From 4b20f08b3f075a03e41b71fb7e8108fea5e6677b Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sat, 20 Jul 2024 21:26:38 -0500 Subject: [PATCH 5/7] 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 519c204..5c69a85 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -12,7 +12,7 @@ local gcc-flags = -Wsign-promo -Wconversion -Wsign-conversion -Wshadow -Wundef ; project : requirements - /boost/core//boost_core + /boost/core//boost_core /boost/exception//boost_exception extra From 2ffcfc14ee8a96eaf5f8abfc68500dc4e32454d0 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sat, 20 Jul 2024 22:52:05 -0500 Subject: [PATCH 6/7] Update copyright dates. --- build.jam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.jam b/build.jam index df6615e..24cd5ed 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 a0ea1e5f90a6b691db5e8a32bf53a60802ec74bb Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Tue, 23 Jul 2024 22:34:24 -0500 Subject: [PATCH 7/7] Move inter-lib dependencies to a project variable and into the build targets. --- build.jam | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/build.jam b/build.jam index 24cd5ed..759526f 100644 --- a/build.jam +++ b/build.jam @@ -5,17 +5,20 @@ require-b2 5.2 ; +constant boost_dependencies : + /boost/assert//boost_assert + /boost/config//boost_config ; + project /boost/throw_exception : common-requirements - /boost/assert//boost_assert - /boost/config//boost_config include ; explicit - [ alias boost_throw_exception ] + [ alias boost_throw_exception : : : : $(boost_dependencies) ] [ alias all : boost_throw_exception test ] ; call-if : boost-library throw_exception ; +