|
Boost-Build : |
From: Adder (adder.thief_at_[hidden])
Date: 2008-05-17 11:19:25
Hi,
In toolset/borland.jam (or a similar file), I need to modify
rule link ( targets + : sources * : properties * )
{
....
}
in order to extract the sources of type OBJ in a separate variable.
I tried using:
echo [ virtual-target.select-by-type OBJ : $(sources) ] ;
but I'm getting an error when building. On further investigation, it
turns out that $(sources[1]) is something like this:
<p!-Bin\borland-5.6.0\debug\link-static\runtime-link-static\threading-multi\user-interface-gui\xcharset-ansi>Main.obj
and it doesn't have a .type property (required by select-by-type).
It's not a "virtual target" object !
How can I get the OBJ sources in a variable, so I can use it in the
"actions link ..." code ?
Thank you for your time,
-- Best regards, Adder
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