Boost logo

Boost-Build :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2005-06-01 03:02:49


Vladimir Prus wrote:
> No, the <name> feature is still not there. Does "_d" stands for "debug"? Then,
> maybe using the full-blown <tag> feature would be a better approach?

So I tried the 'full blown' tag feature.
But if I do following for instance:

<Jamroot>
rule debug-name ( name : type ? : property-set )
{ return $(name)_d ; }

exe tt : tt.cpp : <tag>@debug-name ;
</Jamroot>

I get an error saying that there is a
'duplicate name of actual target: <pbin/gcc/debug>tt_d'

For the moment I solved this doing

obj tt_obj : tt.cpp ;
exe tt : tt_obj : <tag>@debug-name ;

BTW, I also tried the 'historical' <tag> feature but that one is broken.

 


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