From 36bba5af2d8fa43ea777b080129e0719e8eca655 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Mon, 11 Mar 2024 08:27:02 -0500 Subject: [PATCH] Make the library modular usable. --- build.jam | 24 ++++++++++++++++++++++++ test/Jamfile.v2 | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 build.jam diff --git a/build.jam b/build.jam new file mode 100644 index 0000000..853d7c7 --- /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/array + : common-requirements + /boost/assert//boost_assert + /boost/config//boost_config + /boost/core//boost_core + /boost/static_assert//boost_static_assert + /boost/throw_exception//boost_throw_exception + include + ; + +explicit + [ alias boost_array ] + [ alias all : boost_array test ] + ; + +call-if : boost-library array + ; diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index bab406a..32cd9ae 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -15,6 +15,6 @@ run array7.cpp ; # run array_constexpr.cpp ; compile-fail array_getfail1.cpp ; compile-fail array_getfail2.cpp ; -run array_hash.cpp ; +run array_hash.cpp /boost/container_hash//boost_container_hash ; run quick.cpp ;