Brian,

There is no mechanism to implicitly get properties. Could you point at some places you are trying to fix - maybe those permit special treatment?


On Wed, Mar 16, 2016, 08:33 Kuhl, Brian <brian.kuhl@windriver.com> wrote:

I'm trying to find a replacement for

if [ os.name ] = NT

using

<target-os>windows

but all the equivalents seem to use

if <target-os>windows in $(properties)

where 'properties' is passed in as parameter.
Is there simpler syntax that doesn't require a property set ?

Brian

-----Original Message-----
From: Boost-build [mailto:boost-build-bounces@lists.boost.org] On Behalf Of Steven Watanabe
Sent: March-15-16 1:04 PM
To: Boost.Build developer's and user's list
Subject: Re: [Boost-build] Eliminating widows host pollution?

AMDG

On 03/15/2016 01:51 PM, Kuhl, Brian wrote:
> Many thanks for your quick reply.
> Most the replacements are straight forward, but this one has me concerned.
>
> <os>NT,<toolset>gcc-cygwin:<define>_USE_W32_SOCKETS
>
> Is NT/gcc-cygwin a meaningful configuration separate from <target-os>cygwin or <os>CYGWIN ?
>

There is no such toolset as gcc-cygwin.  The
only way to get this is if someone puts

using gcc : cygwin ;

in a Jamfile.

The correct way to identify this is
<toolset>gcc,<target-os>cygwin, or
perhaps just <target-os>cygwin.

> I have no way of verifying this, and I would like to push my changes upstream eventually.
>

In Christ,
Steven Watanabe

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

--
Vladimir Prus
http://vladimirprus.com