<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2914" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=555482017-13072006><FONT face=Arial 
color=#0000ff size=2>Thanks, for your help. Yes,&nbsp;just including the .rc 
file&nbsp;did the trick. Now everything works fine.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=555482017-13072006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=555482017-13072006><FONT face=Arial 
color=#0000ff size=2>Jan</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV><!-- Converted from text/plain format -->
<P align=left><FONT 
size=2>---------------------------------------<BR></FONT><FONT size=2><BR>Jan 
Neumann, PhD<BR>Member of Technical Staff</FONT></P>
<P align=left><FONT size=2>Siemens Corporate Research<BR>755 College Rd 
East<BR>Princeton, NJ 08540, USA</FONT></P>
<P align=left><FONT size=2>Phone: +1 (609) 734 3653<BR>Cell: +1 (240) 274 
2806<BR>Fax: +1 (609) 734 6565</FONT>&nbsp;<FONT size=2><BR>Email: 
jan.neumann@siemens.com</FONT><BR></P>
<DIV>&nbsp;</DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Jan Woetzel 
[mailto:jw@mip.informatik.uni-kiel.de] <BR><B>Sent:</B> Thursday, July 13, 2006 
1:05 PM<BR><B>To:</B> Neumann, Jan (SCR US)<BR><B>Cc:</B> 
cmake@cmake.org<BR><B>Subject:</B> Re: [CMake] Problem with including resource 
files for visual studio .NET when using 2.4.2<BR></FONT><BR></DIV>
<DIV></DIV>Neumann, Jan (SCR US) wrote:<BR>
<BLOCKQUOTE 
cite=mid88FCF0BA47D11B41B4FF66E7FD4249BC63D98B@USNWK100MSX.ww017.siemens.net 
type="cite">
  <META content="MSHTML 6.00.2900.2914" name=GENERATOR></BLOCKQUOTE><BR><BR>
<BLOCKQUOTE 
cite=mid88FCF0BA47D11B41B4FF66E7FD4249BC63D98B@USNWK100MSX.ww017.siemens.net 
type="cite">
  <DIV><SPAN class=325521016-13072006><FONT face=Arial size=2>I assume this come 
  from the fact that I simply&nbsp; include all the resource files (both binary 
  and text files)</FONT></SPAN></DIV>...<BR>
  <DIV><SPAN class=325521016-13072006><FONT face=Arial 
  size=2>SET(PedDetectVDO_RESOURCES<BR>VehicleDetectApp.rc<BR>res/VehicleDetectApp.ico<BR>res/VehicleDetectApp.rc2<BR>res/Toolbar.bmp<BR>res/VehicleDetectApp.manifest<BR>res/VehicleDetectAppDoc.ico<BR>)</FONT></SPAN></DIV></BLOCKQUOTE>Hi 
Jan,<BR>I think the toplevel .rc already contains the other resources (.ico, 
.bmp, .. ) right? <BR>Did you try to add only the .rc to the 
sources?<BR><BR><BR>
<BLOCKQUOTE 
cite=mid88FCF0BA47D11B41B4FF66E7FD4249BC63D98B@USNWK100MSX.ww017.siemens.net 
type="cite">
  <DIV><SPAN class=325521016-13072006><FONT face=Arial size=2>IF 
  (VISUAL_IDE)<BR>&nbsp; ADD_EXECUTABLE(PedDetectVDO&nbsp; 
  WIN32<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  ${PedDetectVDO_SRCS} 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  ${PedDetectVDO_HEADER}<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  ${PedDetectVDO_RESOURCES})<BR>ELSE (VISUAL_IDE)<BR>&nbsp; 
  ADD_EXECUTABLE(PedDetectVDO&nbsp; 
  WIN32<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  ${PedDetectVDO_SRCS})<BR>ENDIF (VISUAL_IDE)</FONT></SPAN></DIV></BLOCKQUOTE>By 
the way - <BR>This looks very much like you are using my "DefineFlags.cmake" 
from our BIAS library.<BR>It doesn't harm - but you don't need the IF on 
VISUAL_IDE for headers anymore.<BR>CMake 2.4.2 is automatically ignoring .h and 
.hh files in makefile generators, now.<BR>However, you may need the IF for .rc 
files.<BR><BR>Best, <BR>Jan.<BR><PRE class=moz-signature cols="72">-- 

  Dipl.-Ing. Jan Woetzel
--------------------------------------------------
  University of Kiel
  Institute of Computer Science and Applied Mathematics
  Hermann-Rodewald-Str. 3 [room 310]
  24098 Kiel/Germany
--------------------------------------------------
  Phone +49-431-880-4477
  Fax   +49-431-880-4054
  Mob.  +49-179-2937346
--------------------------------------------------
  Url   <A class=moz-txt-link-abbreviated href="http://www.mip.informatik.uni-kiel.de/~jw">www.mip.informatik.uni-kiel.de/~jw</A>
  Email <A class=moz-txt-link-abbreviated href="mailto:jw@mip.informatik.uni-kiel.de">jw@mip.informatik.uni-kiel.de</A>
</PRE></BODY></HTML>