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:
@@ -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
25
build.jam
Normal 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
|
||||
;
|
||||
@@ -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 ;
|
||||
|
||||
@@ -17,6 +17,7 @@ project
|
||||
: requirements
|
||||
|
||||
$(werror)
|
||||
<library>/boost/hash2//boost_hash2
|
||||
;
|
||||
|
||||
# type traits
|
||||
|
||||
Reference in New Issue
Block a user