Subject: Re: [Boost-build] [run] propagate (usage)requirements to dependent targets
From: Raffi Enficiaud (raffi.enficiaud_at_[hidden])
Date: 2016-10-10 10:31:09
Le 10/10/16 à 16:12, Steven Watanabe a écrit :
> On 10/10/2016 03:55 AM, Raffi Enficiaud wrote:
>> Hi all again,
>> I am still exploring a bit boost.build, so please have some patience
>> with me ...
>> I have a target to which I just added requirements and usage requirements:
>> exe smoke-ts-static : smoke-ts/basic-smoke-test.cpp
>> : $(requirements_datasets)
>> : $(requirements_datasets) ; # usage requirements
>> requirements_datasets = [ requires cxx11_decltype cxx11_hdr_random
>> cxx11_hdr_tuple cxx11_hdr_initializer_list cxx11_variadic_macros
>> cxx11_trailing_result_types cxx11_template_aliases ] ;
>> I thought that usage-requirement will be propagated to the run rule.
>> What am I doing wrong and how to propagate the requirements?
> I'm pretty sure that requires doesn't work
> in usage-requirements. In particular,
> usage-requirements must be free features,
> but config.requires uses <build>no which
> is not a free feature.
> In Christ,
> Steven Watanabe
Sorry for the basic mistakes I am doing, but how would you do what I
want to do? As you can see, it is not like I am not trying :)
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