From e18818ec069a9d00148f03d19eda9b36724433ac 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 | 21 +++++++++++++++++++++ test/Jamfile.v2 | 5 +++++ 2 files changed, 26 insertions(+) create mode 100644 build.jam diff --git a/build.jam b/build.jam new file mode 100644 index 0000000..f59e4f4 --- /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/bind + : common-requirements + /boost/config//boost_config + /boost/core//boost_core + include + ; + +explicit + [ alias boost_bind ] + [ alias all : boost_bind test ] + ; + +call-if : boost-library bind + ; diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index f81884a..bf95b64 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -26,6 +26,11 @@ project clang:$(gcc-flags) ; +project : requirements + /boost/smart_ptr//boost_smart_ptr + /boost/function//boost_function + ; + # quick test (for CI) run quick.cpp ;