|
Boost-Build : |
From: Martin Fuchs (gclbb-jamboost_at_[hidden])
Date: 2003-06-03 18:06:26
Thanks Andre!
> There's not much to it and I'd say it is in 'works-for-me' state.
> I'm attaching it, in case anyone is willing to use/modify/be inspired by
> it :-)
I tried your file, and it works. :)
But there's one thing, which constraints the things a bit: The *.rc file
can't have the same name as any other C source file you are linking.
So for example this Jamfile does'nt run:
import rc ;
exe hello : hello.rc hello.c ;
IMHO this is the "normal" case, which is used in most VC projects.
Would it be possible to name the output of the resource compiler *.res
instead of *.res ? (like in my posted Jamrules file for V1)
I tried defining a new typ for resource files by the following lines. But
this doesn't seem to be enough.
generators.register-standard rc.resource-compile : RC : RES ;
declare-type NT CYGWIN : RES : res : : main ;
register-linker builtin.response-file : RES OBJ SEARCHED_LIB STATIC_LIB
IMPORT_LIB : RSP ;
Yours,
Martin
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