From 7958b78d457433a7dc0abbf6db63504fb0a21fd2 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 | 19 +++++++++++++++++++ test/Jamfile | 9 +++++++-- 2 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 build.jam diff --git a/build.jam b/build.jam new file mode 100644 index 0000000..cd3b192 --- /dev/null +++ b/build.jam @@ -0,0 +1,19 @@ +# 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/lambda2 + : common-requirements + include + ; + +explicit + [ alias boost_lambda2 ] + [ alias all : boost_lambda2 test ] + ; + +call-if : boost-library lambda2 + ; diff --git a/test/Jamfile b/test/Jamfile index a21728b..54e7aaa 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -2,10 +2,14 @@ # Distributed under the Boost Software License, Version 1.0. # https://www.boost.org/LICENSE_1_0.txt +import-search /boost/config/checks ; + import testing ; -import ../../config/checks/config : requires ; +import config : requires ; project : requirements + /boost/config//boost_config + /boost/core//boost_core extra @@ -13,7 +17,8 @@ project : requirements msvc:on clang:on - gcc:on ; + gcc:on + ; run quick.cpp ; run lambda2_test.cpp ;