mirror of
https://github.com/boostorg/exception.git
synced 2025-07-30 04:27:18 +02:00
Move inter-lib dependencies to a project variable and into the build targets.
This commit is contained in:
17
build.jam
17
build.jam
@ -5,15 +5,17 @@
|
|||||||
|
|
||||||
require-b2 5.2 ;
|
require-b2 5.2 ;
|
||||||
|
|
||||||
|
constant boost_dependencies :
|
||||||
|
/boost/assert//boost_assert
|
||||||
|
/boost/config//boost_config
|
||||||
|
/boost/core//boost_core
|
||||||
|
/boost/smart_ptr//boost_smart_ptr
|
||||||
|
/boost/throw_exception//boost_throw_exception
|
||||||
|
/boost/tuple//boost_tuple
|
||||||
|
/boost/type_traits//boost_type_traits ;
|
||||||
|
|
||||||
project /boost/exception
|
project /boost/exception
|
||||||
: common-requirements
|
: common-requirements
|
||||||
<library>/boost/assert//boost_assert
|
|
||||||
<library>/boost/config//boost_config
|
|
||||||
<library>/boost/core//boost_core
|
|
||||||
<library>/boost/smart_ptr//boost_smart_ptr
|
|
||||||
<library>/boost/throw_exception//boost_throw_exception
|
|
||||||
<library>/boost/tuple//boost_tuple
|
|
||||||
<library>/boost/type_traits//boost_type_traits
|
|
||||||
<include>include
|
<include>include
|
||||||
;
|
;
|
||||||
|
|
||||||
@ -25,3 +27,4 @@ explicit
|
|||||||
call-if : boost-library exception
|
call-if : boost-library exception
|
||||||
: install boost_exception
|
: install boost_exception
|
||||||
;
|
;
|
||||||
|
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
|
|
||||||
project
|
project
|
||||||
: source-location ../src
|
: source-location ../src
|
||||||
|
: common-requirements <library>$(boost_dependencies)
|
||||||
: requirements <link>static
|
: requirements <link>static
|
||||||
: usage-requirements <define>BOOST_EXCEPTION_NO_LIB=1
|
: usage-requirements <define>BOOST_EXCEPTION_NO_LIB=1
|
||||||
;
|
;
|
||||||
|
Reference in New Issue
Block a user