diff --git a/Jamfile b/Jamfile deleted file mode 100644 index 04e53d77..00000000 --- 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 00000000..77017c9f --- /dev/null +++ b/build.jam @@ -0,0 +1,26 @@ +# Copyright René Ferdinand Rivera Morell 2023-2024 +# 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) + +require-b2 5.2 ; + +constant boost_dependencies : + /boost/config//boost_config + /boost/preprocessor//boost_preprocessor + /boost/static_assert//boost_static_assert + /boost/type_traits//boost_type_traits ; + +project /boost/concept_check + : common-requirements + include + ; + +explicit + [ alias boost_concept_check : : : : $(boost_dependencies) ] + [ alias all : boost_concept_check test ] + ; + +call-if : boost-library concept_check + ; + diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 4510302b..c1412a64 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -4,6 +4,11 @@ # http://www.boost.org/LICENSE_1_0.txt) import testing ; +project : requirements + /boost/core//boost_core + /boost/concept_check//boost_concept_check + ; + test-suite concept_check : [ link stl_concept_covering.cpp ] [ run stl_concept_check.cpp ] @@ -11,11 +16,11 @@ test-suite concept_check [ run class_concept_check_test.cpp ] [ compile-fail concept_check_fail_expected.cpp ] [ compile-fail class_concept_fail_expected.cpp ] - + [ run where.cpp ] [ compile-fail where_fail.cpp ] [ compile-fail usage_fail.cpp ] - + # Backward compatibility tests [ run old_concept_pass.cpp ] [ compile-fail function_requires_fail.cpp ]