Subject: Re: [Boost-build] issue with <link>
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-01-05 13:10:16
Gennadiy Rozental wrote:
> Steven Watanabe <watanabesj <at> gmail.com> writes:
>> lib boost_unit_test_framework
>> : #sources
>> : # requirements
>> : # default-build
>> : # usage-requirements
> Can I share this somehow in between multiple lib targets?
You could define a variable.
LIB_USAGE_REQUIREMENTS = <link>shared:<define>BOOST_TEST_DYN_LINK=1 ;
lib ... : $(LIB_USAGE_REQUIREMENTS) ;
The thing is that the mechanism for sharing usage-requirements is
you don't want this to applied for all the targets in the project.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk