View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010154CMakeCMakepublic2010-01-16 03:392010-06-11 16:05
ReporterMatthäus G. Chajdas 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionduplicate 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionFixed in Version 
Summary0010154: Visual Studio 2010 source groups are not generated correctly for nested sources
DescriptionI 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.
TagsNo tags attached.
Attached Fileszip file icon test.zip [^] (1,178 bytes) 2010-01-16 03:39
? file icon Test.vcxproj.filters [^] (1,035 bytes) 2010-01-16 03:39
? file icon Test-original.vcxproj.filters [^] (1,082 bytes) 2010-01-16 03:39
png file icon vs2008-screenshot.png [^] (7,842 bytes) 2010-01-16 03:39


png file icon vs2010-screenshot.png [^] (7,435 bytes) 2010-01-16 03:39

 Relationships
duplicate of 0009863closedBrad King source_groups not (always) working for Visual Studio 10 beta2 

  Notes
(0020660)
cbielow (reporter)
2010-05-08 07:20

identical to
http://www.cmake.org/Bug/view.php?id=10555 [^]
and
http://www.cmake.org/Bug/view.php?id=9863 [^]

 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


Copyright © 2000 - 2018 MantisBT Team