From d7603079fcf5009517a31521b7daf7369ae53e31 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Mon, 11 Mar 2024 08:38:17 -0500 Subject: [PATCH] Make the library modular usable. --- Jamfile | 11 ----------- build.jam | 24 ++++++++++++++++++++++++ example/Jamfile.v2 | 1 + test/Jamfile.v2 | 2 ++ 4 files changed, 27 insertions(+), 11 deletions(-) delete mode 100644 Jamfile create mode 100644 build.jam diff --git a/Jamfile b/Jamfile deleted file mode 100644 index e43cebe..0000000 --- a/Jamfile +++ /dev/null @@ -1,11 +0,0 @@ -# Boost.Intrusive Library Jamfile -# -# Copyright (c) 2018 Ion Gaztanaga -# -# Use, modification, and distribution are 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) - -# please order by name to ease maintenance -build-project example ; -build-project test ; diff --git a/build.jam b/build.jam new file mode 100644 index 0000000..be594a6 --- /dev/null +++ b/build.jam @@ -0,0 +1,24 @@ +# 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/intrusive + : common-requirements + /boost/assert//boost_assert + /boost/config//boost_config + /boost/container_hash//boost_container_hash + /boost/move//boost_move + /boost/static_assert//boost_static_assert + include + ; + +explicit + [ alias boost_intrusive ] + [ alias all : boost_intrusive example test ] + ; + +call-if : boost-library intrusive + ; diff --git a/example/Jamfile.v2 b/example/Jamfile.v2 index 4e8f44e..79c9693 100644 --- a/example/Jamfile.v2 +++ b/example/Jamfile.v2 @@ -30,6 +30,7 @@ rule test_all gcc,windows:"-lole32 -loleaut32" hpux,gcc:"-Wl,+as,mpas" windows,clang:"-lole32 -loleaut32 -lpsapi -ladvapi32" + /boost/interprocess//boost_interprocess ] ; } diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 8193d27..7ab0809 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -25,6 +25,8 @@ rule test_all : # test-files : # requirements windows,clang:"-lole32 -loleaut32 -lpsapi -ladvapi32" + /boost/core//boost_core + /boost/container//boost_container ] ; }