mirror of
https://github.com/boostorg/container.git
synced 2025-07-31 13:07:17 +02:00
Merge pull request #287 from grafikrobot/modular
Add support for modular build structure.
This commit is contained in:
11
Jamfile
11
Jamfile
@ -1,11 +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 example ;
|
||||
build-project test ;
|
27
build.jam
Normal file
27
build.jam
Normal 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
|
||||
;
|
||||
|
@ -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 ;
|
@ -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
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
;
|
||||
|
||||
|
Reference in New Issue
Block a user