forked from boostorg/regex
Move inter-lib dependencies to a project variable and into the build targets.
This commit is contained in:
19
build.jam
19
build.jam
@ -5,16 +5,18 @@
|
|||||||
|
|
||||||
require-b2 5.2 ;
|
require-b2 5.2 ;
|
||||||
|
|
||||||
|
constant boost_dependencies :
|
||||||
|
/boost/assert//boost_assert
|
||||||
|
/boost/concept_check//boost_concept_check
|
||||||
|
/boost/config//boost_config
|
||||||
|
/boost/core//boost_core
|
||||||
|
/boost/predef//boost_predef
|
||||||
|
/boost/static_assert//boost_static_assert
|
||||||
|
/boost/throw_exception//boost_throw_exception
|
||||||
|
/boost/type_traits//boost_type_traits ;
|
||||||
|
|
||||||
project /boost/regex
|
project /boost/regex
|
||||||
: common-requirements
|
: common-requirements
|
||||||
<library>/boost/assert//boost_assert
|
|
||||||
<library>/boost/concept_check//boost_concept_check
|
|
||||||
<library>/boost/config//boost_config
|
|
||||||
<library>/boost/core//boost_core
|
|
||||||
<library>/boost/predef//boost_predef
|
|
||||||
<library>/boost/static_assert//boost_static_assert
|
|
||||||
<library>/boost/throw_exception//boost_throw_exception
|
|
||||||
<library>/boost/type_traits//boost_type_traits
|
|
||||||
<include>include
|
<include>include
|
||||||
;
|
;
|
||||||
|
|
||||||
@ -26,3 +28,4 @@ explicit
|
|||||||
call-if : boost-library regex
|
call-if : boost-library regex
|
||||||
: install boost_regex
|
: install boost_regex
|
||||||
;
|
;
|
||||||
|
|
||||||
|
@ -10,6 +10,7 @@ import errors ;
|
|||||||
project : requirements
|
project : requirements
|
||||||
# default to all warnings on:
|
# default to all warnings on:
|
||||||
<warnings>all
|
<warnings>all
|
||||||
|
: common-requirements <library>$(boost_dependencies)
|
||||||
;
|
;
|
||||||
|
|
||||||
local disable-icu = [ MATCH (--disable-icu) : [ modules.peek : ARGV ] ] ;
|
local disable-icu = [ MATCH (--disable-icu) : [ modules.peek : ARGV ] ] ;
|
||||||
|
Reference in New Issue
Block a user