Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-02-07 07:54:03


On Monday 06 February 2006 18:44, Vladimir Prus wrote:

> exe a : a.cpp ;
>
> install dist : a : <indirect-conditional>$(__name__).mess-with-properties
> ;
>
> rule mess-with-properties ( properties * )
> {
> if <variant>debug in $(properties)
> {
> return <location>MYDEBUG ;
> }
> }
>
> The patch is work-in-progress on
> http://zigzag.cs.msu.su/boost.build/ticket/23 and will be done in a couple
> of days, so you might just wait a bit until the interface and semantics is
> finalized.

The patch, test, and docs are checked in. You can read about the syntax at:

http://boost.org/boost-build2/doc/html/bbv2/advanced/targets.html#id2572031

and you might also want to check a new FAQ entry:

http://boost.org/boost-build2/doc/html/bbv2/faq.html#id2577795

Let me know if this works for you.

- Volodya


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