Merge branch 'develop' of github.com:boostorg/container into develop

This commit is contained in:
Ion Gaztañaga
2024-08-18 23:57:39 +02:00
6 changed files with 40 additions and 19 deletions

12
Jamfile
View File

@@ -1,12 +0,0 @@
# Boost.Container Library Jamfile
#
# Copyright (c) 2018 Ion Gaztanaga
#
# Use, modification, and distribution are subject to 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)
# please order by name to ease maintenance
build-project bench ;
build-project example ;
build-project test ;

27
build.jam Normal file
View File

@@ -0,0 +1,27 @@
# Copyright René Ferdinand Rivera Morell 2023-2024
# 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/intrusive//boost_intrusive
/boost/move//boost_move ;
project /boost/container
: common-requirements
<include>include
;
explicit
[ alias boost_container : build//boost_container ]
[ alias all : boost_container example test ]
;
call-if : boost-library container
: install boost_container
;

View File

@@ -6,11 +6,13 @@
import sequence ;
project boost/container
project
: source-location ../src
: common-requirements <library>$(boost_dependencies)
: usage-requirements # pass these requirement to dependents (i.e. users)
<link>shared:<define>BOOST_CONTAINER_DYN_LINK=1
<link>static:<define>BOOST_CONTAINER_STATIC_LINK=1
<define>BOOST_CONTAINER_NO_LIB=1
;
lib boost_container
@@ -18,5 +20,3 @@ lib boost_container
: <link>shared:<define>BOOST_CONTAINER_DYN_LINK=1
<link>static:<define>BOOST_CONTAINER_STATIC_LINK=1
;
boost-install boost_container ;

View File

@@ -17,8 +17,8 @@ path-constant here : . ;
doxygen autodoc
:
[ glob ../../../boost/container/*.hpp ]
[ glob ../../../boost/container/pmr/*.hpp ]
[ glob ../include/boost/container/*.hpp ]
[ glob ../include/boost/container/pmr/*.hpp ]
:
<doxygen:param>EXTRACT_ALL=NO
<doxygen:param>HIDE_UNDOC_MEMBERS=YES

View File

@@ -11,6 +11,8 @@
# 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 testing ;
# this rule enumerates through all the sources and invokes
# the run rule for each source, the result is a list of all
# the run rules, which we can pass on to the test_suite rule:

View File

@@ -12,8 +12,12 @@
# LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
project
: requirements
<link>shared:<define>BOOST_CONTAINER_DYN_LINK=1
: requirements
<library>/boost/iterator//boost_iterator
<library>/boost/utility//boost_utility
<library>/boost/tuple//boost_tuple
<link>shared:<define>BOOST_CONTAINER_DYN_LINK=1
<toolset>gcc-cygwin:<link>static
;