<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1141" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I'm trying to convince CMake to perform what should 
be a simple task - to call the resource compiler on a .rc file to generate a 
.res file that the linker can link into the target program. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Yet, I can't convince CMake to generate a .vcproj 
file that represents this.  In particular, I find myself arguing with CMake 
over whether a .rc file is really source or not (There seems to be a hardcoded 
list of what is a source file or not, ie ".cxx,.c,.cpp,...in". The SOURCE_GROUP 
command may be intended to override this, but it has only 4 lines (46 words) of 
documentation!, so I can't really tell). </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Actually, my task is slightly more complex, not 
that it matters since I can't get CMake to represent the first step. I'm 
actually using the message compiler to generate the .rc files, which I then call 
the resource compiler on to generate the .res files, which then get linked into 
a library. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'd offer more details, but I figure that this is 
the sort of thing that someone might have figured out already.  Has anyone, 
or should I start posting what I've figure out so far?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I've read all the docs at the 
www.cmake.org site. If anyone else has documentation or examples, 
 I'd welcome that. </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Rob. </FONT></DIV></BODY></HTML>