[cmake-developers] [CMake 0014967]: VS 2005 Generator for OBJECT target create name.rc.res object but the compiler generates name.res files

Mantis Bug Tracker mantis at public.kitware.com
Tue Jun 10 09:59:55 EDT 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14967 
====================================================================== 
Reported By:                Javier
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14967
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-06-10 09:59 EDT
Last Modified:              2014-06-10 09:59 EDT
====================================================================== 
Summary:                    VS 2005 Generator for OBJECT target create
name.rc.res object but the compiler generates name.res files
Description: 
When I add an OBJECT target with an .rc file, the VS2005 generator adds the
following in the .vcproj file: 

<File RelativePath="something\BuildDLL.rc">
  <FileConfiguration Name="Debug|Win32">
    <Tool
       Name="VCResourceCompilerTool"
       ObjectFile="$(IntDir)/BuildDLL.rc.res"
     />

However, when building this target in VS, BuildDLL.rc is compiled into
BuildDLL.res, so build fails because it can't find BuildDLL.rc.res.

Steps to Reproduce: 
1) Create an OBJECT target with a resource file, ie name.rc. 
2) Generate a solution with VS2005 geneartor.
3) Build.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-06-10 09:59 Javier         New Issue                                    
======================================================================



More information about the cmake-developers mailing list