mirror of
https://github.com/boostorg/container.git
synced 2025-07-31 04:57:16 +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 ;
|
||||
|
||||
constant boost_dependencies :
|
||||
/boost/assert//boost_assert
|
||||
/boost/config//boost_config
|
||||
/boost/intrusive//boost_intrusive
|
||||
/boost/move//boost_move ;
|
||||
|
||||
project /boost/container
|
||||
: common-requirements
|
||||
<library>/boost/assert//boost_assert
|
||||
<library>/boost/config//boost_config
|
||||
<library>/boost/intrusive//boost_intrusive
|
||||
<library>/boost/move//boost_move
|
||||
<include>include
|
||||
;
|
||||
|
||||
@ -22,3 +24,4 @@ explicit
|
||||
call-if : boost-library container
|
||||
: install boost_container
|
||||
;
|
||||
|
||||
|
@ -8,6 +8,7 @@ import sequence ;
|
||||
|
||||
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
|
||||
|
Reference in New Issue
Block a user