Boost logo

Boost-Build :

From: Renaud Lepere (renaud.lepere_at_[hidden])
Date: 2007-03-30 05:31:21


> Now, I want to specify install rule for my target but I want install
> location to be different for different build variants. For example, when
> building debug variant I want location to be /bin/debug and for release
> variant /bin/release.

I have a similar problem, i would like to change the name of the
file to add a .d at the end if i'm using a debug variant.

I have seen that i can use a tag-feature/rule to modify the name of generated
file but i don't know how can i test the "type" and "property-set" parameters ?

rule my-tag ( name : type ? : property-set )
{
        return "" ;
}

exe toto : toto.cpp : <tag>@my-tag ;
install dist : toto ;

Where can i find more information ?

Thanks,

Renaud


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