View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014967 | CMake | CMake | public | 2014-06-10 09:59 | 2016-06-10 14:31 | ||||
Reporter | Javier | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | Windows | OS | Windows | OS Version | 7 | ||||
Product Version | CMake 2.8.12.2 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0014967: 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. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0036153) Brad King (manager) 2014-06-10 11:14 |
It looks like resource files are not supported in OBJECT libraries in general. I just tried with the VS 12 2013 generator and it expects name.obj instead of name.res. Just to make sure we're talking about the same thing, please provide an example CMakeLists.txt snippet producing the behavior you report. |
(0042564) Kitware Robot (administrator) 2016-06-10 14:29 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2014-06-10 09:59 | Javier | New Issue | |
2014-06-10 11:14 | Brad King | Note Added: 0036153 | |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042564 | |
2016-06-10 14:29 | Kitware Robot | Status | new => resolved |
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |