Boost logo

Boost-Build :

Subject: Re: [Boost-build] Different commands on different platforms?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-12-02 12:21:41


AMDG

John Maddock wrote:
> if $(NT)
> <snip>
>
> But it always prints "Platform is not NT". What am I doing wrong?
>
> Also tried switching on $(OS) and $(UNIX) but all the builtin
> variables seem to be undefined in the Jamfile :-(

import os ;

if [ os.name ] = NT
...

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