diff --git a/build.jam b/build.jam new file mode 100644 index 0000000..04d3a9c --- /dev/null +++ b/build.jam @@ -0,0 +1,29 @@ +# 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/assert//boost_assert + /boost/config//boost_config + /boost/core//boost_core + /boost/io//boost_io + /boost/preprocessor//boost_preprocessor + /boost/throw_exception//boost_throw_exception + /boost/type_traits//boost_type_traits ; + +project /boost/utility + : common-requirements + include + ; + +explicit + [ alias boost_utility : : : : $(boost_dependencies) ] + [ alias all : boost_utility test ] + ; + +call-if : boost-library utility + ; + diff --git a/doc/Jamfile.v2 b/doc/Jamfile.v2 index 6883c2a..7c80e8b 100644 --- a/doc/Jamfile.v2 +++ b/doc/Jamfile.v2 @@ -8,7 +8,7 @@ import quickbook ; project boost/libs/utility/doc ; -path-constant INCLUDES : ../../.. ; +path-constant INCLUDES : ../include ; path-constant boost-images : ../../../doc/src/images ; # Generate XML doxygen reference for base_from_member component in base_from_member_reference.xml diff --git a/identity_type/doc/Jamfile.v2 b/identity_type/doc/Jamfile.v2 index 07ca29e..cb59547 100644 --- a/identity_type/doc/Jamfile.v2 +++ b/identity_type/doc/Jamfile.v2 @@ -8,7 +8,7 @@ import quickbook ; using boostbook ; -doxygen reference : ../../../../boost/utility/identity_type.hpp +doxygen reference : ../../include/boost/utility/identity_type.hpp : "Reference" PREDEFINED="DOXYGEN" QUIET=YES diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index fdaef72..67438ca 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -8,12 +8,14 @@ # bring in rules for testing import testing ; +project : requirements /boost/utility//boost_utility ; + run base_from_member_test.cpp ; run base_from_member_ref_test.cpp ; run binary_test.cpp ; -run call_traits_test.cpp : -u ; +run call_traits_test.cpp : -u : : /boost/type_traits//testing ; run compressed_pair_test.cpp ; run compressed_pair_final_test.cpp ; @@ -31,7 +33,7 @@ run string_ref_test2.cpp ; run string_ref_test_io.cpp ; # compile-fail string_view_from_rvalue.cpp ; compile string_view_constexpr_test1.cpp ; -run string_view_test1.cpp ; +run string_view_test1.cpp : : : /boost/container_hash//boost_container_hash ; run string_view_test2.cpp ; run string_view_test_io.cpp ; diff --git a/test/call_traits_test.cpp b/test/call_traits_test.cpp index 57ad67c..dea9975 100644 --- a/test/call_traits_test.cpp +++ b/test/call_traits_test.cpp @@ -18,8 +18,8 @@ #include #include -#include -#include +// type_traits/test utilities +#include "check_type.hpp" #ifdef BOOST_MSVC #pragma warning(disable:4181) // : warning C4181: qualifier applied to reference type; ignored