Boost logo

Boost-Build :

From: Phillip Seaver (phil_at_[hidden])
Date: 2006-09-15 19:05:43


K. Noel Belcourt wrote:
> Hi,
>
> I'd like to change the name of an executable when it's installed. Is
> there a way to change the name of the exectuable that's installed
> from the name defined in the exe rule?
>
> For example:
>
> exe noel : main.cpp ;
>
> install stage
> : noel
> :
> <location>$(my-place)/bin
> <exe-as>noel.x
> ;
>
> Something like an <exe-as> property for changing the exe name from
> noel to noel.x? Or perhaps some other way to accomplish this?
>
> Thanks.
>
> -- Noel Belcourt
>

You can use the <tag> feature. I posted my usage of it a while ago:
http://article.gmane.org/gmane.comp.lib.boost.build/13019

HTH,

Phillip


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