diff --git a/build.jam b/build.jam new file mode 100644 index 0000000..d6d97ec --- /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/container_hash + : common-requirements + /boost/config//boost_config + /boost/describe//boost_describe + /boost/mp11//boost_mp11 + /boost/type_traits//boost_type_traits + include + ; + +explicit + [ alias boost_container_hash ] + [ alias all : boost_container_hash examples test ] + ; + +call-if : boost-library container_hash + ; diff --git a/examples/Jamfile.v2 b/examples/Jamfile.v2 index bb28ba9..402a94e 100644 --- a/examples/Jamfile.v2 +++ b/examples/Jamfile.v2 @@ -6,5 +6,5 @@ run books.cpp ; run point.cpp ; run portable.cpp ; -run template.cpp : : : msvc-8.0:no ; +run template.cpp /boost/unordered//boost_unordered : : : msvc-8.0:no ; run point2.cpp ; diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 8b16bab..97aa49b 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -10,6 +10,8 @@ local clang-flags = $(gcc-flags) -Wno-c99-extensions ; project hash-tests : requirements + /boost/core//boost_core + pedantic intel:on gcc:$(gcc-flags) @@ -72,16 +74,16 @@ run quick.cpp ; run hash_number_test2.cpp ; run hash_integral_test.cpp ; -run hash_string_test2.cpp ; +run hash_string_test2.cpp /boost/utility//boost_utility ; # for gcc-4.8 local fs-path-req = "-gcc:-Wshadow" "-gcc:-Wconversion" gcc-4.7:no ; -run hash_fs_path_test.cpp /boost//filesystem/off : : : $(fs-path-req) +run hash_fs_path_test.cpp /boost/filesystem//boost_filesystem/off : : : $(fs-path-req) msvc-14.0,latest:no norecover:static ; -run is_range_test2.cpp : : : $(fs-path-req) ; +run is_range_test2.cpp /boost/filesystem//boost_filesystem : : : $(fs-path-req) ; run hash_container_test.cpp ; @@ -116,8 +118,8 @@ run is_described_class_test3.cpp run described_class_test.cpp : : : extra ; -run hash_is_avalanching_test.cpp ; -run hash_is_avalanching_test2.cpp ; +run hash_is_avalanching_test.cpp /boost/unordered//boost_unordered ; +run hash_is_avalanching_test2.cpp /boost/unordered//boost_unordered ; run hash_integral_test2.cpp ;