From b3e32ace288bc51dfbcd9bc8359b1b1607925d07 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Mon, 11 Mar 2024 08:38:16 -0500 Subject: [PATCH 1/7] Make the library modular usable. --- build.jam | 20 ++++++++++++++++++++ test/Jamfile | 5 ++++- 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..d4338d7 --- /dev/null +++ b/build.jam @@ -0,0 +1,20 @@ +# 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/io + : common-requirements + /boost/config//boost_config + include + ; + +explicit + [ alias boost_io ] + [ alias all : boost_io test ] + ; + +call-if : boost-library io + ; diff --git a/test/Jamfile b/test/Jamfile index ffc9160..d35ab9d 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -8,7 +8,10 @@ import testing ; -project : requirements pedantic on ; +project : requirements pedantic on + /boost/core//boost_core + /boost/type_traits//boost_type_traits + ; run ios_state_unit_test.cpp ; run ios_state_test.cpp ; From bdc52d6eb4888c90db2d6ad1181c2a73feea0dcd Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 29 Mar 2024 21:15:59 -0500 Subject: [PATCH 2/7] Switch to library requirements instead of source. As source puts extra source in install targets. --- build.jam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.jam b/build.jam index d4338d7..4872454 100644 --- a/build.jam +++ b/build.jam @@ -7,7 +7,7 @@ import project ; project /boost/io : common-requirements - /boost/config//boost_config + /boost/config//boost_config include ; From 4be3c9d1eac89c15c1a7437ad06a5fc72d60b3a7 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 4872454..cb9c316 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/io From ff3a272e0fdd4844b8a1894e439bdf6db91a1ed0 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 14 Jun 2024 11:33:55 -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 cb9c316..58d4d33 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/io : common-requirements From 72cf9e10eea6c7eb31ecdcf05bfa511c0a85b6fc Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sat, 20 Jul 2024 19:39:59 -0500 Subject: [PATCH 5/7] Change all references to . --- test/Jamfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Jamfile b/test/Jamfile index d35ab9d..4f1e816 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -9,8 +9,8 @@ import testing ; project : requirements pedantic on - /boost/core//boost_core - /boost/type_traits//boost_type_traits + /boost/core//boost_core + /boost/type_traits//boost_type_traits ; run ios_state_unit_test.cpp ; From 2fb2c3c41dc566f009e4c5daa748f56509f8650e Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sat, 20 Jul 2024 22:52:03 -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 58d4d33..d96b1fc 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 66696f116abf3bb5983b31cb15ad7b9187cb49c4 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Tue, 23 Jul 2024 22:34:22 -0500 Subject: [PATCH 7/7] Move inter-lib dependencies to a project variable and into the build targets. --- build.jam | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/build.jam b/build.jam index d96b1fc..2d79604 100644 --- a/build.jam +++ b/build.jam @@ -5,16 +5,19 @@ require-b2 5.2 ; +constant boost_dependencies : + /boost/config//boost_config ; + project /boost/io : common-requirements - /boost/config//boost_config include ; explicit - [ alias boost_io ] + [ alias boost_io : : : : $(boost_dependencies) ] [ alias all : boost_io test ] ; call-if : boost-library io ; +