mirror of
https://github.com/boostorg/container.git
synced 2025-07-31 13:07:17 +02:00
Make the library modular usable.
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 ;
|
|
25
build.jam
Normal file
25
build.jam
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# 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
|
||||||
|
: common-requirements
|
||||||
|
<source>/boost/assert//boost_assert
|
||||||
|
<source>/boost/config//boost_config
|
||||||
|
<source>/boost/intrusive//boost_intrusive
|
||||||
|
<source>/boost/move//boost_move
|
||||||
|
<source>/boost/static_assert//boost_static_assert
|
||||||
|
<include>include
|
||||||
|
;
|
||||||
|
|
||||||
|
explicit
|
||||||
|
[ alias boost_container : build//boost_container ]
|
||||||
|
[ alias all : boost_container example test ]
|
||||||
|
;
|
||||||
|
|
||||||
|
call-if : boost-library container
|
||||||
|
: install boost_container
|
||||||
|
;
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
import sequence ;
|
import sequence ;
|
||||||
|
|
||||||
project boost/container
|
project
|
||||||
: source-location ../src
|
: source-location ../src
|
||||||
: usage-requirements # pass these requirement to dependents (i.e. users)
|
: usage-requirements # pass these requirement to dependents (i.e. users)
|
||||||
<link>shared:<define>BOOST_CONTAINER_DYN_LINK=1
|
<link>shared:<define>BOOST_CONTAINER_DYN_LINK=1
|
||||||
@ -18,5 +18,3 @@ lib boost_container
|
|||||||
: <link>shared:<define>BOOST_CONTAINER_DYN_LINK=1
|
: <link>shared:<define>BOOST_CONTAINER_DYN_LINK=1
|
||||||
<link>static:<define>BOOST_CONTAINER_STATIC_LINK=1
|
<link>static:<define>BOOST_CONTAINER_STATIC_LINK=1
|
||||||
;
|
;
|
||||||
|
|
||||||
boost-install boost_container ;
|
|
@ -13,6 +13,11 @@
|
|||||||
|
|
||||||
project
|
project
|
||||||
: requirements
|
: requirements
|
||||||
|
<source>/boost/algorithm//boost_algorithm
|
||||||
|
<source>/boost/iterator//boost_iterator
|
||||||
|
<source>/boost/utility//boost_utility
|
||||||
|
<source>/boost/tuple//boost_tuple
|
||||||
|
|
||||||
<link>shared:<define>BOOST_CONTAINER_DYN_LINK=1
|
<link>shared:<define>BOOST_CONTAINER_DYN_LINK=1
|
||||||
<toolset>gcc-cygwin:<link>static
|
<toolset>gcc-cygwin:<link>static
|
||||||
;
|
;
|
||||||
|
Reference in New Issue
Block a user