View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005114CMakeCMakepublic2007-05-31 10:232007-08-24 11:02
Reportermejedi 
Assigned ToAlex Neundorf 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionduplicate 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0005114: Source groups with equal names but nested in different groups merged together
DescriptionConsider the following atificial CMakeLists.txt (fragment):

SOURCE_GROUP(foo)
SOURCE_GROUP(bar)
SOURCE_GROUP(foo\\files FILES foo.c foo.h)
SOURCE_GROUP(bar\\files FILES bar.c bar.h)

Obviously "foo\\files" and "bar\\files" are different groups, however CMake merges them together when generating project for VC.NET 2003. The result is "files" nested in "foo" with foo.c, foo.h, and bar.c, bar.h in it.

Currently we are appending increasing ordinal numbers to ensure that components of group names are unique to prevent undesired merging.

However mangled group names look very ugly.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0008649)
Alex Neundorf (developer)
2007-08-24 11:02

Duplicate to 0004057, more comments please over there.

 Issue History
Date Modified Username Field Change
2007-08-24 11:02 Alex Neundorf Note Added: 0008649
2007-08-24 11:02 Alex Neundorf Assigned To Bill Hoffman => Alex Neundorf
2007-08-24 11:02 Alex Neundorf Status assigned => closed
2007-08-24 11:02 Alex Neundorf Resolution open => duplicate


Copyright © 2000 - 2018 MantisBT Team