forked from boostorg/container_hash
Make the library modular usable.
This commit is contained in:
23
build.jam
Normal file
23
build.jam
Normal file
@@ -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
|
||||
<source>/boost/config//boost_config
|
||||
<source>/boost/describe//boost_describe
|
||||
<source>/boost/mp11//boost_mp11
|
||||
<source>/boost/type_traits//boost_type_traits
|
||||
<include>include
|
||||
;
|
||||
|
||||
explicit
|
||||
[ alias boost_container_hash ]
|
||||
[ alias all : boost_container_hash examples test ]
|
||||
;
|
||||
|
||||
call-if : boost-library container_hash
|
||||
;
|
@@ -6,5 +6,5 @@
|
||||
run books.cpp ;
|
||||
run point.cpp ;
|
||||
run portable.cpp ;
|
||||
run template.cpp : : : <toolset>msvc-8.0:<build>no ;
|
||||
run template.cpp /boost/unordered//boost_unordered : : : <toolset>msvc-8.0:<build>no ;
|
||||
run point2.cpp ;
|
||||
|
@@ -10,6 +10,8 @@ local clang-flags = $(gcc-flags) -Wno-c99-extensions ;
|
||||
|
||||
project hash-tests
|
||||
: requirements
|
||||
<source>/boost/core//boost_core
|
||||
|
||||
<warnings>pedantic
|
||||
<toolset>intel:<warnings>on
|
||||
<toolset>gcc:<cxxflags>$(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 = "-<toolset>gcc:<cxxflags>-Wshadow" "-<toolset>gcc:<cxxflags>-Wconversion" <toolset>gcc-4.7:<build>no ;
|
||||
|
||||
run hash_fs_path_test.cpp /boost//filesystem/<warnings>off : : : $(fs-path-req)
|
||||
run hash_fs_path_test.cpp /boost/filesystem//boost_filesystem/<warnings>off : : : $(fs-path-req)
|
||||
<toolset>msvc-14.0,<cxxstd>latest:<build>no
|
||||
<undefined-sanitizer>norecover:<link>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
|
||||
: : : <warnings>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 ;
|
||||
|
||||
|
Reference in New Issue
Block a user