MantisBT - CMake |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0010700 | CMake | CMake | public | 2010-05-11 03:37 | 2010-12-15 09:47 |
|
Reporter | Michael Frommberger | |
Assigned To | Brad King | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | | OS Version | |
Product Version | CMake-2-8 | |
Target Version | | Fixed in Version | | |
|
Summary | 0010700: VS6 generator: resource compilation MinSizeRel Bug |
Description | I'm trying to generate with CMake 2.8.1 on Windows XP a VS6 project which compiles a resource. It works pretty well with Debug, Release and RelWithDebInfo. But with the MinSizeRel profile I got an error from VS6. In the generated dsp file I found the following line:
# ADD RSC REL |
Steps To Reproduce | |
Additional Information | I think the bug is in cmLocalVisualStudio6Generator.cxx. There are some string replacements. The replacement for the compile definitions for MinSizeRel seems to be incomplete (COMPILE_DEFINITIONS_MINSIZE instead of COMPILE_DEFINITIONS_MINSIZEREL). So the REL remains after the replacement. Here is a diff with the patch to solve this issue. After applying this patch to CMake 2.8.1, resource compilation works for me with all profiles. |
Tags | No tags attached. |
Relationships | |
Attached Files | MinSizeRel_Compile_Definitions_bug.diff (818) 2010-05-11 03:37 https://public.kitware.com/Bug/file/3102/MinSizeRel_Compile_Definitions_bug.diff |
|
Issue History |
Date Modified | Username | Field | Change |
2010-05-11 03:37 | Michael Frommberger | New Issue | |
2010-05-11 03:37 | Michael Frommberger | File Added: MinSizeRel_Compile_Definitions_bug.diff | |
2010-12-15 09:43 | David Cole | Assigned To | => Brad King |
2010-12-15 09:43 | David Cole | Status | new => assigned |
2010-12-15 09:47 | Brad King | Note Added: 0024149 | |
2010-12-15 09:47 | Brad King | Status | assigned => closed |
2010-12-15 09:47 | Brad King | Resolution | open => fixed |