MantisBT - CMake
View Issue Details
0008711CMakeCMakepublic2009-03-10 04:092013-04-17 08:54
Filip Konvicka 
David Cole 
normalminoralways
closedfixed 
CMake-2-6 
CMake 2.8.11CMake 2.8.11 
0008711: SOURCE_GROUP priorities not working
Docs says about SOURCE_GROUP:

Any file whose name is listed or matches the regular expression will be placed in this group. If a file matches multiple groups, the LAST group that explicitly lists the file will be favored, if any. If no group explicitly lists the file, the LAST group whose regular expression matches the file will be favored.

See the attached example - generate for MSVC 9 (probably happens with 7 and 8 too). All source files end up in the FIRST group. This only happens with regex, listing a file explicitly does the right thing.
No tags attached.
related to 0004395closed David Cole SOURCE_GROUP override broken with recursive groups 
related to 0013611closed David Cole SOURCE_GROUP doesn't use last match 
zip cmakefolders.zip (1,013) 2009-03-10 04:09
https://public.kitware.com/Bug/file/2115/cmakefolders.zip
Issue History
2009-03-10 04:09Filip KonvickaNew Issue
2009-03-10 04:09Filip KonvickaFile Added: cmakefolders.zip
2009-03-10 04:40Filip KonvickaNote Added: 0015615
2010-12-14 15:36David ColeStatusnew => assigned
2010-12-14 15:36David ColeAssigned To => David Cole
2011-12-01 06:09Filip Konvicka (LOGIS)Note Added: 0027878
2012-08-13 15:12David ColeStatusassigned => backlog
2012-08-13 15:12David ColeNote Added: 0030602
2012-08-13 15:19David ColeAssigned ToDavid Cole =>
2012-10-28 09:16David ColeAssigned To => David Cole
2012-10-28 09:16David ColeStatusbacklog => assigned
2012-10-28 09:17David ColeTarget Version => CMake 2.8.11
2012-10-28 09:22David ColeRelationship addedrelated to 0013611
2012-10-28 09:22David ColeRelationship addedrelated to 0004395
2012-11-23 11:29David ColeNote Added: 0031684
2012-11-23 11:29David ColeStatusassigned => resolved
2012-11-23 11:29David ColeFixed in Version => CMake 2.8.11
2012-11-23 11:29David ColeResolutionopen => fixed
2013-04-17 08:54Robert MaynardNote Added: 0032879
2013-04-17 08:54Robert MaynardStatusresolved => closed

Notes
(0015615)
Filip Konvicka   
2009-03-10 04:40   
May be related to issue 0007932
(0027878)
Filip Konvicka (LOGIS)   
2011-12-01 06:09   
Additionally, in VS 2010, if the group name contains a colon (:), then the generated project files won't even load.
(0030602)
David Cole   
2012-08-13 15:12   
Sending old, not-recently-updated issues to the backlog.

(The age of the bug alone means that nobody is actively working on it...)

If an issue you care about is sent to the backlog when you feel it should have been addressed in a different manner, please bring it up on the CMake mailing list for discussion. Sign up for the mailing list here, if you're not already on it: http://www.cmake.org/mailman/listinfo/cmake [^]

It's easy to re-activate a bug here if you can find a CMake developer who has the bandwidth to take it on, and ferry a fix through to our 'next' branch for dashboard testing.
(0031684)
David Cole   
2012-11-23 11:29   
Same fix as related issue 0013611
(0032879)
Robert Maynard   
2013-04-17 08:54   
Closing resolved issues that have not been updated in more than 4 months.