forked from boostorg/unordered
Make the library modular usable.
This commit is contained in:
31
build.jam
Normal file
31
build.jam
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
# 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/unordered
|
||||||
|
: common-requirements
|
||||||
|
<source>/boost/assert//boost_assert
|
||||||
|
<source>/boost/config//boost_config
|
||||||
|
<source>/boost/container_hash//boost_container_hash
|
||||||
|
<source>/boost/core//boost_core
|
||||||
|
<source>/boost/move//boost_move
|
||||||
|
<source>/boost/mp11//boost_mp11
|
||||||
|
<source>/boost/predef//boost_predef
|
||||||
|
<source>/boost/preprocessor//boost_preprocessor
|
||||||
|
<source>/boost/static_assert//boost_static_assert
|
||||||
|
<source>/boost/throw_exception//boost_throw_exception
|
||||||
|
<source>/boost/tuple//boost_tuple
|
||||||
|
<source>/boost/type_traits//boost_type_traits
|
||||||
|
<include>include
|
||||||
|
;
|
||||||
|
|
||||||
|
explicit
|
||||||
|
[ alias boost_unordered ]
|
||||||
|
[ alias all : boost_unordered test ]
|
||||||
|
;
|
||||||
|
|
||||||
|
call-if : boost-library unordered
|
||||||
|
;
|
@ -7,7 +7,7 @@
|
|||||||
import path ;
|
import path ;
|
||||||
import regex ;
|
import regex ;
|
||||||
import testing ;
|
import testing ;
|
||||||
import ../../config/checks/config : requires ;
|
import config : requires ;
|
||||||
|
|
||||||
path-constant TOP : . ;
|
path-constant TOP : . ;
|
||||||
|
|
||||||
@ -20,6 +20,9 @@ local msvc-flags = /wd4494 ;
|
|||||||
|
|
||||||
project
|
project
|
||||||
: requirements
|
: requirements
|
||||||
|
<source>/boost/concept_check//boost_concept_check
|
||||||
|
<source>/boost/compat//boost_compat
|
||||||
|
<source>/boost/iterator//boost_iterator
|
||||||
<warnings>pedantic
|
<warnings>pedantic
|
||||||
<toolset>intel:<warnings>on
|
<toolset>intel:<warnings>on
|
||||||
|
|
||||||
@ -146,7 +149,7 @@ run unordered/serialization_tests.cpp
|
|||||||
<toolset>gcc:<optimization>space
|
<toolset>gcc:<optimization>space
|
||||||
<toolset>clang:<inlining>on
|
<toolset>clang:<inlining>on
|
||||||
<toolset>clang:<optimization>space
|
<toolset>clang:<optimization>space
|
||||||
<library>/boost//serialization/<warnings>off ;
|
<library>/boost/serialization//boost_serialization/<warnings>off ;
|
||||||
|
|
||||||
compile-fail unordered/insert_node_type_fail.cpp : <define>UNORDERED_TEST_MAP : insert_node_type_fail_map ;
|
compile-fail unordered/insert_node_type_fail.cpp : <define>UNORDERED_TEST_MAP : insert_node_type_fail_map ;
|
||||||
compile-fail unordered/insert_node_type_fail.cpp : <define>UNORDERED_TEST_MULTIMAP : insert_node_type_fail_multimap ;
|
compile-fail unordered/insert_node_type_fail.cpp : <define>UNORDERED_TEST_MULTIMAP : insert_node_type_fail_multimap ;
|
||||||
@ -247,7 +250,7 @@ run unordered/serialization_tests.cpp
|
|||||||
<toolset>gcc:<optimization>space
|
<toolset>gcc:<optimization>space
|
||||||
<toolset>clang:<inlining>on
|
<toolset>clang:<inlining>on
|
||||||
<toolset>clang:<optimization>space
|
<toolset>clang:<optimization>space
|
||||||
<library>/boost//serialization/<warnings>off
|
<library>/boost/serialization//boost_serialization/<warnings>off
|
||||||
: foa_serialization_tests ;
|
: foa_serialization_tests ;
|
||||||
|
|
||||||
local FOA_EXCEPTION_TESTS =
|
local FOA_EXCEPTION_TESTS =
|
||||||
@ -282,7 +285,12 @@ local MMAP_CONTAINERS =
|
|||||||
|
|
||||||
for local container in $(MMAP_CONTAINERS)
|
for local container in $(MMAP_CONTAINERS)
|
||||||
{
|
{
|
||||||
run unordered/mmap_tests.cpp /boost/filesystem//boost_filesystem : :
|
run unordered/mmap_tests.cpp
|
||||||
|
/boost/filesystem//boost_filesystem
|
||||||
|
/boost/interprocess//boost_interprocess
|
||||||
|
/boost/process//boost_process
|
||||||
|
/boost/uuid//boost_uuid
|
||||||
|
: :
|
||||||
: <define>BOOST_UNORDERED_FOA_MMAP_MAP_TYPE="boost::$(container)"
|
: <define>BOOST_UNORDERED_FOA_MMAP_MAP_TYPE="boost::$(container)"
|
||||||
<warnings>off
|
<warnings>off
|
||||||
<link>static
|
<link>static
|
||||||
@ -351,7 +359,7 @@ run cfoa/serialization_tests.cpp
|
|||||||
<toolset>gcc:<optimization>space
|
<toolset>gcc:<optimization>space
|
||||||
<toolset>clang:<inlining>on
|
<toolset>clang:<inlining>on
|
||||||
<toolset>clang:<optimization>space
|
<toolset>clang:<optimization>space
|
||||||
<library>/boost//serialization/<warnings>off
|
<library>/boost/serialization//boost_serialization/<warnings>off
|
||||||
: cfoa_serialization_tests ;
|
: cfoa_serialization_tests ;
|
||||||
|
|
||||||
alias cfoa_tests :
|
alias cfoa_tests :
|
||||||
|
Reference in New Issue
Block a user