Boost logo

Boost-Build :

Subject: Re: [Boost-build] Jamfile syntax question
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2016-12-23 18:55:59


AMDG

On 12/23/2016 04:27 PM, Robert Ramey wrote:
> On 12/23/16 1:49 PM, Steven Watanabe wrote:
>>
>> On 12/23/2016 10:03 AM, Robert Ramey wrote:
>>> <snip>
>>> if ! $(BOOST_ARCHIVE_LIST) {
>>> if [ requires std_wstreambuf ] {
>>> <snip>
>>>
>>> # enable the tests which don't depend on a particular archive
>>> BOOST_SERIALIZATION_TEST = true ;
>>> }
>>>
>>> Will this work as want it to?
>>>
>>
>> No.
>
> ...
>
> So WHAT would the syntax to be to get what I want?
>

  You need to modify the target declarations.
Add [ requires std_wstreambuf ] to the requirements
of all the targets the need wstreambuf.

For one target, it looks like this:
run test.cpp
 : # input files
 : # args
 : # requirements
   [ requires std_wstreambuf ]
;

In Christ,
Steven Watanabe


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