From c35a004c1eb808d6e3c7e236f8729aead3c4fd07 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 | 19 +++++++++++++++++++ test/Jamfile.v2 | 4 +++- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 build.jam diff --git a/build.jam b/build.jam new file mode 100644 index 00000000..cfd387f9 --- /dev/null +++ b/build.jam @@ -0,0 +1,19 @@ +# 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/qvm + : common-requirements + include + ; + +explicit + [ alias boost_qvm ] + [ alias all : boost_qvm test ] + ; + +call-if : boost-library qvm + ; diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index e043da02..04e43865 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -5,7 +5,9 @@ project : requirements - ../include + /boost/core//boost_core + /boost/exception//boost_exception + /boost/test//boost_test ; variant debug_qvm_hpp : debug : BOOST_QVM_TEST_SINGLE_HEADER="\\\"qvm.hpp\\\"" ; From 271efcae6346a7d69f6543500b88f591e0b5c0ea Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sun, 5 May 2024 09:00:01 -0500 Subject: [PATCH 2/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 cfd387f9..d7724139 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/qvm From c87c962c1c0d7ecf0766e97824e6b76e9cbc1a1e Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 14 Jun 2024 11:33:56 -0500 Subject: [PATCH 3/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 d7724139..23bc80ae 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/qvm : common-requirements From 5843a6b567b59295c0a036e344f571997263e528 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sat, 20 Jul 2024 19:42:10 -0500 Subject: [PATCH 4/7] Change all references to . --- test/Jamfile.v2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 04e43865..f295b476 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -5,9 +5,9 @@ project : requirements - /boost/core//boost_core - /boost/exception//boost_exception - /boost/test//boost_test + /boost/core//boost_core + /boost/exception//boost_exception + /boost/test//boost_test ; variant debug_qvm_hpp : debug : BOOST_QVM_TEST_SINGLE_HEADER="\\\"qvm.hpp\\\"" ; From 2fd37b13e4388bfd4cdd73894ec905d989018ec5 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sat, 20 Jul 2024 22:52:05 -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 23bc80ae..7201f61e 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 0e6018eebbc6d013d60c35de2f8cdd23f03686f7 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Tue, 23 Jul 2024 22:34:24 -0500 Subject: [PATCH 6/7] Move inter-lib dependencies to a project variable and into the build targets. --- build.jam | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.jam b/build.jam index 7201f61e..e72750e8 100644 --- a/build.jam +++ b/build.jam @@ -11,9 +11,10 @@ project /boost/qvm ; explicit - [ alias boost_qvm ] + [ alias boost_qvm : : : : $(boost_dependencies) ] [ alias all : boost_qvm test ] ; call-if : boost-library qvm ; + From bba8369ad354a705b43323e04e3b8199e1541b25 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Thu, 25 Jul 2024 23:30:00 -0500 Subject: [PATCH 7/7] Switch to /boost/test//included target for header only mode of Boost.Test. --- test/Jamfile.v2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index f295b476..f3b0e670 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -7,7 +7,7 @@ project : requirements /boost/core//boost_core /boost/exception//boost_exception - /boost/test//boost_test + /boost/test//included ; variant debug_qvm_hpp : debug : BOOST_QVM_TEST_SINGLE_HEADER="\\\"qvm.hpp\\\"" ;