From ea61b3aa85770813bf5c23319e3a151e78a3b84b Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Mon, 11 Mar 2024 08:38:17 -0500 Subject: [PATCH 1/9] Make the library modular usable. --- build.jam | 29 +++++++++++++++++++++++++++++ test/Jamfile | 2 +- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 build.jam diff --git a/build.jam b/build.jam new file mode 100644 index 00000000..712bb7a2 --- /dev/null +++ b/build.jam @@ -0,0 +1,29 @@ +# 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/lambda + : common-requirements + /boost/bind//boost_bind + /boost/config//boost_config + /boost/core//boost_core + /boost/detail//boost_detail + /boost/iterator//boost_iterator + /boost/mpl//boost_mpl + /boost/preprocessor//boost_preprocessor + /boost/tuple//boost_tuple + /boost/type_traits//boost_type_traits + /boost/utility//boost_utility + include + ; + +explicit + [ alias boost_lambda ] + [ alias all : boost_lambda test ] + ; + +call-if : boost-library lambda + ; diff --git a/test/Jamfile b/test/Jamfile index 316223b6..89a4915c 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -11,7 +11,7 @@ import testing ; run algorithm_test.cpp ; -run bind_tests_advanced.cpp ; +run bind_tests_advanced.cpp : : : /boost/any//boost_any ; run bind_tests_simple.cpp ; run bind_tests_simple_f_refs.cpp ; run bll_and_function.cpp ; From 5968889209fdee68c294a7d6d9e389eb56273c1b Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 29 Mar 2024 21:15:59 -0500 Subject: [PATCH 2/9] Switch to library requirements instead of source. As source puts extra source in install targets. --- build.jam | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/build.jam b/build.jam index 712bb7a2..dbbfbf63 100644 --- a/build.jam +++ b/build.jam @@ -7,16 +7,16 @@ import project ; project /boost/lambda : common-requirements - /boost/bind//boost_bind - /boost/config//boost_config - /boost/core//boost_core - /boost/detail//boost_detail - /boost/iterator//boost_iterator - /boost/mpl//boost_mpl - /boost/preprocessor//boost_preprocessor - /boost/tuple//boost_tuple - /boost/type_traits//boost_type_traits - /boost/utility//boost_utility + /boost/bind//boost_bind + /boost/config//boost_config + /boost/core//boost_core + /boost/detail//boost_detail + /boost/iterator//boost_iterator + /boost/mpl//boost_mpl + /boost/preprocessor//boost_preprocessor + /boost/tuple//boost_tuple + /boost/type_traits//boost_type_traits + /boost/utility//boost_utility include ; From 0d1820513ccd01549f2fdda9e7bfffc23b86de2e Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sun, 5 May 2024 09:00:01 -0500 Subject: [PATCH 3/9] 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 dbbfbf63..5b26616b 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/lambda From f26babea3c09bc1b8368bfb7efd8fce9b3bc10ff Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 14 Jun 2024 11:33:55 -0500 Subject: [PATCH 4/9] 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 5b26616b..906689f9 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/lambda : common-requirements From b3d68b5e4e1c9fc4df52e0ea023f7b9dcf670726 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sat, 20 Jul 2024 19:40:11 -0500 Subject: [PATCH 5/9] Change all references to . --- test/Jamfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/Jamfile b/test/Jamfile index 89a4915c..6fce67f3 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -1,17 +1,17 @@ # Lambda library -# Copyright (C) 2001-2003 Jaakko Järvi +# Copyright (C) 2001-2003 Jaakko J�rvi -# Use, modification and distribution is subject to 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) +# Use, modification and distribution is subject to 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) # For more information, see http://www.boost.org/ import testing ; run algorithm_test.cpp ; -run bind_tests_advanced.cpp : : : /boost/any//boost_any ; +run bind_tests_advanced.cpp : : : /boost/any//boost_any ; run bind_tests_simple.cpp ; run bind_tests_simple_f_refs.cpp ; run bll_and_function.cpp ; From 717daf5483e5d3ce1792ee3040821eee313c7003 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sat, 20 Jul 2024 22:52:03 -0500 Subject: [PATCH 6/9] Update copyright dates. --- build.jam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.jam b/build.jam index 906689f9..1651af53 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 bd56ab5976258dbe1346c46cb3807969c8aa92f7 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Tue, 23 Jul 2024 22:34:22 -0500 Subject: [PATCH 7/9] Move inter-lib dependencies to a project variable and into the build targets. --- build.jam | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/build.jam b/build.jam index 1651af53..57bf9844 100644 --- a/build.jam +++ b/build.jam @@ -5,25 +5,28 @@ require-b2 5.2 ; +constant boost_dependencies : + /boost/bind//boost_bind + /boost/config//boost_config + /boost/core//boost_core + /boost/detail//boost_detail + /boost/iterator//boost_iterator + /boost/mpl//boost_mpl + /boost/preprocessor//boost_preprocessor + /boost/tuple//boost_tuple + /boost/type_traits//boost_type_traits + /boost/utility//boost_utility ; + project /boost/lambda : common-requirements - /boost/bind//boost_bind - /boost/config//boost_config - /boost/core//boost_core - /boost/detail//boost_detail - /boost/iterator//boost_iterator - /boost/mpl//boost_mpl - /boost/preprocessor//boost_preprocessor - /boost/tuple//boost_tuple - /boost/type_traits//boost_type_traits - /boost/utility//boost_utility include ; explicit - [ alias boost_lambda ] + [ alias boost_lambda : : : : $(boost_dependencies) ] [ alias all : boost_lambda test ] ; call-if : boost-library lambda ; + From 7e792bbbefe734ef3b92e18376989f7f9d6b766e Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sat, 3 Aug 2024 16:10:28 -0500 Subject: [PATCH 8/9] Update build deps. --- test/Jamfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/Jamfile b/test/Jamfile index 6fce67f3..368a92f8 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -10,6 +10,8 @@ import testing ; +project : requirements /boost/lambda//boost_lambda ; + run algorithm_test.cpp ; run bind_tests_advanced.cpp : : : /boost/any//boost_any ; run bind_tests_simple.cpp ; From eb079473e23446d7b2324bb0b7745037e9487f4f Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Mon, 7 Apr 2025 17:37:01 -0500 Subject: [PATCH 9/9] Move project global include to target local include. --- build.jam | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/build.jam b/build.jam index 57bf9844..59103457 100644 --- a/build.jam +++ b/build.jam @@ -18,15 +18,13 @@ constant boost_dependencies : /boost/utility//boost_utility ; project /boost/lambda - : common-requirements - include ; explicit - [ alias boost_lambda : : : : $(boost_dependencies) ] + [ alias boost_lambda : : : + : include $(boost_dependencies) ] [ alias all : boost_lambda test ] ; call-if : boost-library lambda ; -