mirror of
https://github.com/boostorg/container.git
synced 2025-08-01 21:44:27 +02:00
Move inter-lib dependencies to a project variable and into the build targets.
This commit is contained in:
11
build.jam
11
build.jam
@@ -5,12 +5,14 @@
|
|||||||
|
|
||||||
require-b2 5.2 ;
|
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
|
project /boost/container
|
||||||
: common-requirements
|
: common-requirements
|
||||||
<library>/boost/assert//boost_assert
|
|
||||||
<library>/boost/config//boost_config
|
|
||||||
<library>/boost/intrusive//boost_intrusive
|
|
||||||
<library>/boost/move//boost_move
|
|
||||||
<include>include
|
<include>include
|
||||||
;
|
;
|
||||||
|
|
||||||
@@ -22,3 +24,4 @@ explicit
|
|||||||
call-if : boost-library container
|
call-if : boost-library container
|
||||||
: install boost_container
|
: install boost_container
|
||||||
;
|
;
|
||||||
|
|
||||||
|
@@ -8,6 +8,7 @@ import sequence ;
|
|||||||
|
|
||||||
project
|
project
|
||||||
: source-location ../src
|
: source-location ../src
|
||||||
|
: common-requirements <library>$(boost_dependencies)
|
||||||
: 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
|
||||||
<link>static:<define>BOOST_CONTAINER_STATIC_LINK=1
|
<link>static:<define>BOOST_CONTAINER_STATIC_LINK=1
|
||||||
|
Reference in New Issue
Block a user