Boost logo

Boost-Build :

From: Peter Steiner (peter.steiner_at_[hidden])
Date: 2003-10-13 16:50:47


Hello Rene

Thank you for your quick response!

On Mon, 13 Oct 2003 15:07:24 -0500, you wrote:

>>I would like to define an additional transformation for stripping my
>>executables. What would be the best way?

> The short answer is, yes you can. The long answer depends on which version
> of BB you are using. Given your previous post about v1, and that's the

Unfortunately (or fortunately ;-) I switched my project to BBv2 which
simplified my jamfiles a lot. Most of my other problems I could solve
digging in the archives of this maillist...

> version I can talk about confidently, I'll answer for the BBv1 case.

Does that mean, that for BBv2 Vladimir is the man to ask?

>From superficially looking at the sources I guess I'd have to do
something like:
- declaring a type (where?) like it is done in builtin.jam
- write a rule like register-c-compiler (where?)
- write a rule (and register it) that strips my executables (in my toolset-file?)

Am I on the right track?

> Yes.. BBv1 targets have the directory as part of the target ID (in the
> grist: <>).

Is that true for BBv2 targets, too?

Regards, Peter

-- 
_ _ Peter Steiner <peter.steiner_at_[hidden]>
/ /_/ / Hug-Witschi AG <http://www.hugwi.ch/>
/ _ / Electronic Engineering
/_/ /_/ _ _ Auriedstrasse 10
/ / / / / / CH-3178 Boesingen
/ /_/ /_/ / Tel +41 31 740 44 44
/_ _ _ _ _/ Fax +41 31 740 44 45
 

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