mirror of
https://github.com/boostorg/system.git
synced 2025-07-31 04:57:13 +02:00
Move inter-lib dependencies to a project variable and into the build targets.
This commit is contained in:
13
build.jam
13
build.jam
@ -5,13 +5,15 @@
|
||||
|
||||
require-b2 5.2 ;
|
||||
|
||||
constant boost_dependencies :
|
||||
/boost/assert//boost_assert
|
||||
/boost/config//boost_config
|
||||
/boost/throw_exception//boost_throw_exception
|
||||
/boost/variant2//boost_variant2
|
||||
/boost/winapi//boost_winapi ;
|
||||
|
||||
project /boost/system
|
||||
: common-requirements
|
||||
<library>/boost/assert//boost_assert
|
||||
<library>/boost/config//boost_config
|
||||
<library>/boost/throw_exception//boost_throw_exception
|
||||
<library>/boost/variant2//boost_variant2
|
||||
<library>/boost/winapi//boost_winapi
|
||||
<include>include
|
||||
;
|
||||
|
||||
@ -23,3 +25,4 @@ explicit
|
||||
call-if : boost-library system
|
||||
: install boost_system
|
||||
;
|
||||
|
||||
|
@ -9,6 +9,7 @@
|
||||
|
||||
project
|
||||
: source-location ../src
|
||||
: common-requirements <library>$(boost_dependencies)
|
||||
: usage-requirements # pass these requirement to dependents (i.e. users)
|
||||
<link>shared:<define>BOOST_SYSTEM_DYN_LINK=1
|
||||
<link>static:<define>BOOST_SYSTEM_STATIC_LINK=1
|
||||
|
Reference in New Issue
Block a user