Boost logo

Boost-Build :

Subject: [Boost-build] Checking for property values...
From: Brian Ravnsgaard Riis (brian_at_[hidden])
Date: 2009-01-03 13:57:01


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Given

        if [ property.select <some_feature> : $(properties) ] in
                value1 value2 value3 and_so_on
        {
                ...
        }

The ... part gets evaluated if <some_feature> has a value in the list,
but also, it seems, if <some_feature> is not present in properties at
all. Is this intentional? I need the branch to execute only if
<some_feature> is present *and* is one of value1 value2 etc.

 /Brian R. Riis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJX7T9k1tAOprY6QERAtM/AKC9AOl8iAAixVjedp8EijF4JBT8VwCbBDPf
PNDtD7pbAJTtXJPtYDdUKRI=
=Jmdr
-----END PGP SIGNATURE-----


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