Boost logo

Boost-Build :

Subject: Re: [Boost-build] DEFINES with multiple dependencies?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2016-02-11 02:02:16


AMDG

On 02/10/2016 11:48 PM, Kuhl, Brian wrote:
> I thought wanted:
> toolset.flags gcc.compile.c++ DEFINES <exception-handling>off <target-os>vxworks : _NO_EX=1 ;
>
> To add -D_NO_EX=1 to the compile when exceptions are off and we are targeting VxWorks
> But that didn't work.
>

This condition will match if either property
is present.

> What should it be?
>

According to the built in documentation
(b2 --help toolset.flags), it should be
"<exception-handling>off/<target-os>vxworks"

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