Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-06-05 00:55:17


Martin Fuchs wrote:

> > This is a little beyond my knowledge of BB but try replacing
> > generators.register-standard rc.resource-compile : RC : OBJ ;
> > with
> > generators.register-standard rc.resource-compile : RC : OBJ(%_res) ;
> >
> > That way hello.rc will become hello_res.obj and will not conflict with
> > hello.obj (created from hello.c)
>
> Well, that's a possibility. :)
> The linker doesn't complain about the ".obj" file extension of the resource
> file, and just builds the correct executable.

I've just comitted rc.jam with the change described above. So resource
compiler is supported by V2. Thanks to Andre!

BTW, do I understand correctly that on windows it's common to produce
*.res file from *.rc, not .obj from .rc --- as we have now? Andre, can you
clarify why you choose to create .obj? Was the intention to make the same
Jamfile work on FreeBSD?

- Volodya

 


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