2
0
mirror of https://github.com/boostorg/hash2.git synced 2026-01-19 04:12:12 +00:00

Merge pull request #41 from grafikrobot/modular

Add support for modular build structure.
This commit is contained in:
Peter Dimov
2025-05-03 21:06:47 +03:00
committed by GitHub
4 changed files with 30 additions and 2 deletions

View File

@@ -1,7 +1,8 @@
# Copyright 2020 Peter Dimov
# Distributed under the Boost Software License, Version 1.0.
project : default-build release <link>static ;
project : default-build release <link>static
: requirements <library>/boost/hash2//boost_hash2 ;
exe buffer : buffer.cpp ;
exe unordered : unordered.cpp ;

25
build.jam Normal file
View File

@@ -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 : : :
: <library>$(boost_dependencies) <include>include ]
[ alias all : boost_hash2 test benchmark example ]
;
call-if : boost-library hash2
;

View File

@@ -1,7 +1,8 @@
# Copyright 2020, 2024 Peter Dimov
# Distributed under the Boost Software License, Version 1.0.
project : default-build release <link>static ;
project : default-build release <link>static
: requirements <library>/boost/hash2//boost_hash2 ;
exe md5sum : md5sum.cpp ;
exe hash2sum : hash2sum.cpp ;

View File

@@ -17,6 +17,7 @@ project
: requirements
$(werror)
<library>/boost/hash2//boost_hash2
;
# type traits