From fc1decfa083f31a4673276618864f47351feec20 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 | 29 +++++++++++++++++++++++++++++ test/Jamfile.v2 | 4 ++++ 2 files changed, 33 insertions(+) create mode 100644 build.jam diff --git a/build.jam b/build.jam new file mode 100644 index 0000000..32378cd --- /dev/null +++ b/build.jam @@ -0,0 +1,29 @@ +# 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/type_traits + : common-requirements + /boost/config//boost_config + /boost/static_assert//boost_static_assert + include + ; + +explicit + [ alias boost_type_traits ] + [ alias all : boost_type_traits test ] + # Other Boost lib tests depend on the type_traits test checks. + [ alias testing + : # sources + : # requirements + : # default-buidl + : # usage-requirements + test + ] + ; + +call-if : boost-library type_traits + ; diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 6fe0408..840375a 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -18,6 +18,10 @@ if [ os.environ CI ] # regular project : requirements + /boost/core//boost_core + /boost/move//boost_move + /boost/mpl//boost_mpl + # default to all warnings on: all # set warnings as errors for those compilers we know we get warning free: