MantisBT - CMake | ||||||||||
| View Issue Details | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||
| 0010154 | CMake | CMake | public | 2010-01-16 03:39 | 2010-06-11 16:05 | |||||
| Reporter | Matthäus G. Chajdas | |||||||||
| Assigned To | ||||||||||
| Priority | normal | Severity | minor | Reproducibility | always | |||||
| Status | closed | Resolution | duplicate | |||||||
| Platform | OS | OS Version | ||||||||
| Product Version | CMake-2-8 | |||||||||
| Target Version | Fixed in Version | |||||||||
| Summary | 0010154: Visual Studio 2010 source groups are not generated correctly for nested sources | |||||||||
| Description | I have a file in src/platform/win, and I want to generate the source groups platform/win to put the file into (see vs2008-screenshot.) With the VS2010 generator, they are incorrectly put into the same level. See test.vcxproj and test-original.vcxproj for how the filters are generated (original) and how they should be. For VS2010, the filters should be generated for each level like this: <ItemGroup> <Filter Include="Source files"> <UniqueIdentifier>{6ad2c40d-6a19-4aba-9ba7-a2dfb3b4af41}</UniqueIdentifier> </Filter> <Filter Include="Source files\platform"> <UniqueIdentifier>{bbad2419-1987-4258-8a58-d3907e985742}</UniqueIdentifier> </Filter> <Filter Include="Source files\platform\win"> <UniqueIdentifier>{d8a9efd7-e1a6-422f-86d2-f96188e4f4c9}</UniqueIdentifier> </Filter> </ItemGroup> The attached example program (test.zip) shows the problem. | |||||||||
| Steps To Reproduce | ||||||||||
| Additional Information | ||||||||||
| Tags | No tags attached. | |||||||||
| Relationships |
| |||||||||
| Attached Files | https://public.kitware.com/Bug/file/2778/test.zip https://public.kitware.com/Bug/file/2779/Test.vcxproj.filters https://public.kitware.com/Bug/file/2780/Test-original.vcxproj.filters https://public.kitware.com/Bug/file/2781/vs2008-screenshot.png ![]() https://public.kitware.com/Bug/file/2782/vs2010-screenshot.png ![]() | |||||||||
| Issue History | ||||||||||
| Date Modified | Username | Field | Change | |||||||
| 2010-01-16 03:39 | Matthäus G. Chajdas | New Issue | ||||||||
| 2010-01-16 03:39 | Matthäus G. Chajdas | File Added: test.zip | ||||||||
| 2010-01-16 03:39 | Matthäus G. Chajdas | File Added: Test.vcxproj.filters | ||||||||
| 2010-01-16 03:39 | Matthäus G. Chajdas | File Added: Test-original.vcxproj.filters | ||||||||
| 2010-01-16 03:39 | Matthäus G. Chajdas | File Added: vs2008-screenshot.png | ||||||||
| 2010-01-16 03:39 | Matthäus G. Chajdas | File Added: vs2010-screenshot.png | ||||||||
| 2010-05-08 07:20 | cbielow | Note Added: 0020660 | ||||||||
| 2010-06-11 16:04 | Brad King | Relationship added | duplicate of 0009863 | |||||||
| 2010-06-11 16:05 | Brad King | Status | new => closed | |||||||
| 2010-06-11 16:05 | Brad King | Resolution | open => duplicate | |||||||
| Notes | |||||
|
|
|||||
|
|
||||