MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0011168 | CMake | CMake | public | 2010-08-25 07:45 | 2016-06-10 14:31 |
| Reporter | biocomp | ||||
| Assigned To | Bill Hoffman | ||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | OS | OS Version | |||
| Product Version | CMake-2-8 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0011168: vs2010 generator sometimes refuses to add sources to specific source group (marks them as None) | ||||
| Description | When using complex source file grouping structure like (for example): Header Files | Internal |-| Windows Specific |-| Posix Specific Source Files | Internal |-| Windows Specific |-| Posix Specific source files in .vcxproj.filters are added twice: to ClCompile nodes, but also to None nodes. And thus they're not actually added to source groups and are shown at the project root. | ||||
| Steps To Reproduce | |||||
| Additional Information | I suppose that else is missing at around line 417 of cmVisualStudio10TargetGenerator.cxx if(lang[0] == 'C') { clCompile.push_back(sf); } if(strcmp(lang, "RC") == 0) // #### ELSE MISSING! #### { resource.push_back(sf); } else if(sf->GetCustomCommand()) { customBuild.push_back(sf); } else if(header) { headers.push_back(sf); } else { none.push_back(sf); } } I've tried to add this missing else and it helped. However, I'm too lazy to check that it's really the root of the problem and that this change is only needed here. | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2010-08-25 07:45 | biocomp | New Issue | |||
| 2010-08-31 17:34 | David Cole | Status | new => assigned | ||
| 2010-08-31 17:34 | David Cole | Assigned To | => Bill Hoffman | ||
| 2010-11-01 07:41 | sigma | Note Added: 0022759 | |||
| 2016-06-10 14:28 | Kitware Robot | Note Added: 0041741 | |||
| 2016-06-10 14:28 | Kitware Robot | Status | assigned => resolved | ||
| 2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | ||
| 2016-06-10 14:31 | Kitware Robot | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||