Boost logo

Boost-Build :

Subject: Re: [Boost-build] Eliminating widows host pollution?
From: Kuhl, Brian (brian.kuhl_at_[hidden])
Date: 2016-03-16 01:32:44


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_at_[hidden]] 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


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