From d7bb0dfb162bcb346cccf08f0cd11becc0e5c307 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. --- build.jam | 21 +++++++++++++++++++++ test/Jamfile.v2 | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 build.jam diff --git a/build.jam b/build.jam new file mode 100644 index 0000000..0b9e52f --- /dev/null +++ b/build.jam @@ -0,0 +1,21 @@ +# 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/throw_exception + : common-requirements + /boost/assert//boost_assert + /boost/config//boost_config + include + ; + +explicit + [ alias boost_throw_exception ] + [ alias all : boost_throw_exception test ] + ; + +call-if : boost-library throw_exception + ; diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 6f268bb..519c204 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -12,6 +12,8 @@ local gcc-flags = -Wsign-promo -Wconversion -Wsign-conversion -Wshadow -Wundef ; project : requirements + /boost/core//boost_core + /boost/exception//boost_exception extra