Boost logo

Boost-Build :

Subject: Re: [Boost-build] bug: condition eval on FreeBSD not correctly working
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-05-26 11:59:50


AMDG

Oliver Kowalke wrote:
> Hi,
> in my Jamfile.v2 the statement:
>
> if $(arch) = "i386" && (<toolset>gcc in $(properties) ||
> <toolset>intel in $(properties))

Watch out for the infamous bjam tokenizing rules.
This is parsed as

if "$(arch)" = "i386" && "(<toolset>gcc" in $(properties) ||
<toolset>intel in "$(properties))"

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