diff --git a/benchmark/Jamfile b/benchmark/Jamfile index eb0f75b..0364558 100644 --- a/benchmark/Jamfile +++ b/benchmark/Jamfile @@ -1,7 +1,8 @@ # Copyright 2020 Peter Dimov # Distributed under the Boost Software License, Version 1.0. -project : default-build release static ; +project : default-build release static + : requirements /boost/hash2//boost_hash2 ; exe buffer : buffer.cpp ; exe unordered : unordered.cpp ; diff --git a/build.jam b/build.jam new file mode 100644 index 0000000..ef490ca --- /dev/null +++ b/build.jam @@ -0,0 +1,25 @@ +# Copyright René Ferdinand Rivera Morell 2025 +# 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/container_hash//boost_container_hash + /boost/describe//boost_describe + /boost/mp11//boost_mp11 ; + +project /boost/hash2 + ; + +explicit + [ alias boost_hash2 : : : + : $(boost_dependencies) include ] + [ alias all : boost_hash2 test benchmark example ] + ; + +call-if : boost-library hash2 + ; diff --git a/example/Jamfile b/example/Jamfile index a1f3064..3d9ad56 100644 --- a/example/Jamfile +++ b/example/Jamfile @@ -1,7 +1,8 @@ # Copyright 2020, 2024 Peter Dimov # Distributed under the Boost Software License, Version 1.0. -project : default-build release static ; +project : default-build release static + : requirements /boost/hash2//boost_hash2 ; exe md5sum : md5sum.cpp ; exe hash2sum : hash2sum.cpp ; diff --git a/test/Jamfile b/test/Jamfile index 1eba259..233aebd 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -17,6 +17,7 @@ project : requirements $(werror) + /boost/hash2//boost_hash2 ; # type traits