From f2cee6fa2691d017da96b084d4848c92524e0d39 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Mon, 11 Mar 2024 08:38:17 -0500 Subject: [PATCH 01/10] Make the library modular usable. --- build.jam | 22 ++++++++++++++++++++++ test/Jamfile.v2 | 5 +++++ 2 files changed, 27 insertions(+) create mode 100644 build.jam diff --git a/build.jam b/build.jam new file mode 100644 index 0000000..76439ae --- /dev/null +++ b/build.jam @@ -0,0 +1,22 @@ +# 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/typeof + : common-requirements + /boost/config//boost_config + /boost/preprocessor//boost_preprocessor + /boost/type_traits//boost_type_traits + include + ; + +explicit + [ alias boost_typeof ] + [ alias all : boost_typeof test ] + ; + +call-if : boost-library typeof + ; diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index d0fc589..3b326fb 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -8,6 +8,11 @@ import testing ; import set ; +project : requirements + /boost/core//boost_core + /boost/lexical_cast//boost_lexical_cast + ; + # The special requirement is not ported yet. # #local rule special-requirements ( toolset variant : properties * ) From c5b6cfdea452ea0a590f58b332487b2cd5e5e84f Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 29 Mar 2024 21:16:00 -0500 Subject: [PATCH 02/10] Switch to library requirements instead of source. As source puts extra source in install targets. --- build.jam | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.jam b/build.jam index 76439ae..1c4a682 100644 --- a/build.jam +++ b/build.jam @@ -7,9 +7,9 @@ import project ; project /boost/typeof : common-requirements - /boost/config//boost_config - /boost/preprocessor//boost_preprocessor - /boost/type_traits//boost_type_traits + /boost/config//boost_config + /boost/preprocessor//boost_preprocessor + /boost/type_traits//boost_type_traits include ; From 65f5be6f9a39996ce88bbd91af3b74de3f1a7438 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sun, 5 May 2024 09:00:01 -0500 Subject: [PATCH 03/10] 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 1c4a682..2400b8b 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/typeof From 2ae4a819899cf3e1b8824883c656927df23cdb07 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Mon, 13 May 2024 21:48:15 -0500 Subject: [PATCH 04/10] Update dependencies. --- build.jam | 2 -- 1 file changed, 2 deletions(-) diff --git a/build.jam b/build.jam index 2400b8b..64c76e5 100644 --- a/build.jam +++ b/build.jam @@ -10,8 +10,6 @@ import project ; project /boost/typeof : common-requirements /boost/config//boost_config - /boost/preprocessor//boost_preprocessor - /boost/type_traits//boost_type_traits include ; From 11a69febcba100495182864063c8dd9216bd2ab9 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 14 Jun 2024 11:33:56 -0500 Subject: [PATCH 05/10] 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 64c76e5..4749625 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/typeof : common-requirements From c1a09affd7e6f7db4481fb1d8bb9789054453dd9 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sat, 20 Jul 2024 21:27:22 -0500 Subject: [PATCH 06/10] Change all references to . --- test/Jamfile.v2 | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 3b326fb..7e85ff6 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -9,8 +9,8 @@ import testing ; import set ; project : requirements - /boost/core//boost_core - /boost/lexical_cast//boost_lexical_cast + /boost/core//boost_core + /boost/lexical_cast//boost_lexical_cast ; # The special requirement is not ported yet. @@ -27,7 +27,7 @@ project : requirements # [ replace-properties $(properties) : no ] ; # } # } -# +# # return $(properties) ; #} @@ -36,8 +36,8 @@ rule typeof-test ( source ) return [ compile $(source) : BOOST_TYPEOF_NATIVE : $(source:B)_native ] [ compile $(source) : BOOST_TYPEOF_EMULATION : - $(source:B)_emulation ] - ; + $(source:B)_emulation ] + ; } rule all-tests ( ) @@ -51,12 +51,12 @@ rule all-tests ( ) all += [ run odr1.cpp odr2.cpp : : : BOOST_TYPEOF_NATIVE : odr_native ] ; all += [ run odr1.cpp odr2.cpp : : : BOOST_TYPEOF_EMULATION : - odr_emulation ] ; - all += [ run odr_no_uns1.cpp odr_no_uns2.cpp : : : BOOST_TYPEOF_EMULATION : - odr_no_uns ] ; - return $(all) ; + odr_emulation ] ; + all += [ run odr_no_uns1.cpp odr_no_uns2.cpp : : : BOOST_TYPEOF_EMULATION : + odr_no_uns ] ; + return $(all) ; } -test-suite "typeof" +test-suite "typeof" : [ all-tests ] ; From 67aac44aa421cac15f7e7adb5b5587b88a780655 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sat, 20 Jul 2024 22:52:03 -0500 Subject: [PATCH 07/10] Update copyright dates. --- build.jam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.jam b/build.jam index 4749625..eaa05cd 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 bec4e193267cead2d1cb22883bb66f8908e376a8 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Tue, 23 Jul 2024 22:34:22 -0500 Subject: [PATCH 08/10] 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 eaa05cd..fa421d3 100644 --- a/build.jam +++ b/build.jam @@ -5,16 +5,19 @@ require-b2 5.2 ; +constant boost_dependencies : + /boost/config//boost_config ; + project /boost/typeof : common-requirements - /boost/config//boost_config include ; explicit - [ alias boost_typeof ] + [ alias boost_typeof : : : : $(boost_dependencies) ] [ alias all : boost_typeof test ] ; call-if : boost-library typeof ; + From cfa875a00c29b53927711254ec7f037dcf111079 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sat, 17 Aug 2024 00:53:07 -0500 Subject: [PATCH 09/10] Update build deps. --- test/Jamfile.v2 | 1 - 1 file changed, 1 deletion(-) diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 7e85ff6..3911170 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -10,7 +10,6 @@ import set ; project : requirements /boost/core//boost_core - /boost/lexical_cast//boost_lexical_cast ; # The special requirement is not ported yet. From 713917981cf5d2394a3b8d063831e47bf2b1ba4c Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Mon, 14 Apr 2025 19:16:45 -0500 Subject: [PATCH 10/10] Move include to target. --- build.jam | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/build.jam b/build.jam index fa421d3..3c082c6 100644 --- a/build.jam +++ b/build.jam @@ -9,12 +9,11 @@ constant boost_dependencies : /boost/config//boost_config ; project /boost/typeof - : common-requirements - include ; explicit - [ alias boost_typeof : : : : $(boost_dependencies) ] + [ alias boost_typeof : : : + : include $(boost_dependencies) ] [ alias all : boost_typeof test ] ;