Boost logo

Boost-Build :

Subject: Re: [Boost-build] conditional rules: arguments
From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2009-09-10 01:17:38


Gaydov Victor wrote:
> hello.
> is it right that the only way to pass some arguments
> to <conditional> rule is to add them as properties to default-build ?
> (current properties are not passed)

You could define custom features for this purpose. For an example, look at
the Jamroot attached to:

http://article.gmane.org/gmane.comp.lib.boost.build/21130

The message itself is related to a problem with passing features containing
a colon (":") inside its value, but you should get the general idea by
looking at the attached file. Just trim the "fluff" away.

HTH / Johan


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