From 2779d2ab487b30b4cd216930f3363175ac812804 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Mon, 11 Mar 2024 08:30:48 -0500 Subject: [PATCH] Make the library modular usable. --- Jamfile | 10 ---------- build.jam | 23 +++++++++++++++++++++++ test/Jamfile.v2 | 4 ++++ 3 files changed, 27 insertions(+), 10 deletions(-) delete mode 100644 Jamfile create mode 100644 build.jam diff --git a/Jamfile b/Jamfile deleted file mode 100644 index 04e53d7..0000000 --- a/Jamfile +++ /dev/null @@ -1,10 +0,0 @@ -# Boost.ConceptCheck Library Jamfile -# -# Copyright (c) 2018 James E. King III -# -# Use, modification, and distribution are subject to 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) - -# please order by name to ease maintenance -build-project test ; diff --git a/build.jam b/build.jam new file mode 100644 index 0000000..5f276a3 --- /dev/null +++ b/build.jam @@ -0,0 +1,23 @@ +# 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/concept_check + : common-requirements + /boost/config//boost_config + /boost/preprocessor//boost_preprocessor + /boost/static_assert//boost_static_assert + /boost/type_traits//boost_type_traits + include + ; + +explicit + [ alias boost_concept_check ] + [ alias all : boost_concept_check test ] + ; + +call-if : boost-library concept_check + ; diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 4510302..8b6f3d3 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -4,6 +4,10 @@ # http://www.boost.org/LICENSE_1_0.txt) import testing ; +project : requirements + /boost/core//boost_core + ; + test-suite concept_check : [ link stl_concept_covering.cpp ] [ run stl_concept_check.cpp ]