From 7958b78d457433a7dc0abbf6db63504fb0a21fd2 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Mon, 11 Mar 2024 08:38:17 -0500 Subject: [PATCH 1/6] Make the library modular usable. --- build.jam | 19 +++++++++++++++++++ test/Jamfile | 9 +++++++-- 2 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 build.jam diff --git a/build.jam b/build.jam new file mode 100644 index 0000000..cd3b192 --- /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/lambda2 + : common-requirements + include + ; + +explicit + [ alias boost_lambda2 ] + [ alias all : boost_lambda2 test ] + ; + +call-if : boost-library lambda2 + ; diff --git a/test/Jamfile b/test/Jamfile index a21728b..54e7aaa 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -2,10 +2,14 @@ # Distributed under the Boost Software License, Version 1.0. # https://www.boost.org/LICENSE_1_0.txt +import-search /boost/config/checks ; + import testing ; -import ../../config/checks/config : requires ; +import config : requires ; project : requirements + /boost/config//boost_config + /boost/core//boost_core extra @@ -13,7 +17,8 @@ project : requirements msvc:on clang:on - gcc:on ; + gcc:on + ; run quick.cpp ; run lambda2_test.cpp ; From 19d484e707db868b67b60692903f438f0ca63b1a Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sun, 5 May 2024 09:00:01 -0500 Subject: [PATCH 2/6] 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 cd3b192..643c100 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/lambda2 From d1fa5813262bb5430546fb113106e9936e0edd52 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 14 Jun 2024 11:33:55 -0500 Subject: [PATCH 3/6] 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 643c100..178ae3f 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/lambda2 : common-requirements From ad47d9ed4fe706202117b1b926c766ea52a8fbfa Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sat, 20 Jul 2024 19:40:17 -0500 Subject: [PATCH 4/6] Change all references to . --- test/Jamfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Jamfile b/test/Jamfile index 54e7aaa..217a195 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -8,8 +8,8 @@ import testing ; import config : requires ; project : requirements - /boost/config//boost_config - /boost/core//boost_core + /boost/config//boost_config + /boost/core//boost_core extra From 53bbeac521ac51b7e3a41b026de82b96fb5bb625 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sat, 20 Jul 2024 22:52:05 -0500 Subject: [PATCH 5/6] Update copyright dates. --- build.jam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.jam b/build.jam index 178ae3f..614e207 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 a03806e4ecdcfdf3af147ccdabac71935a3a9095 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Tue, 23 Jul 2024 22:34:24 -0500 Subject: [PATCH 6/6] 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 614e207..538918c 100644 --- a/build.jam +++ b/build.jam @@ -11,9 +11,10 @@ project /boost/lambda2 ; explicit - [ alias boost_lambda2 ] + [ alias boost_lambda2 : : : : $(boost_dependencies) ] [ alias all : boost_lambda2 test ] ; call-if : boost-library lambda2 ; +