MantisBT - CMake
View Issue Details
0008738CMakeCMakepublic2009-03-13 17:472010-11-09 22:57
goatboy160 
Bill Hoffman 
normalfeatureN/A
closedwon't fix 
CMake-2-6 
CMake 2.8.3 
0008738: Add NEST_SOLUTION_FOLDERS for Visual Studio Generator
With a large project having all of the projects dumped in a single flat solution file can be a bit annoying. I've implemented (with help from community) the nesting of projects to roughly follow the directory structure of the files in the source directory.

Attaching a unified diff for reference.
No tags attached.
related to 0003796closed David Cole Add Project Group command 
diff nested_projects.diff (17,648) 2009-03-13 17:47
https://public.kitware.com/Bug/file/2124/nested_projects.diff
Issue History
2009-03-13 17:47goatboy160New Issue
2009-03-13 17:47goatboy160File Added: nested_projects.diff
2009-03-15 22:27Bill HoffmanStatusnew => assigned
2009-03-15 22:27Bill HoffmanAssigned To => Bill Hoffman
2009-03-15 22:27Bill HoffmanNote Added: 0015691
2010-09-28 12:02goatboy160Note Added: 0022373
2010-11-04 16:51David ColeRelationship addedrelated to 0003796
2010-11-04 16:58David ColeNote Added: 0022860
2010-11-04 16:58David ColeStatusassigned => resolved
2010-11-04 16:58David ColeFixed in Version => CMake 2.8.3
2010-11-04 16:58David ColeResolutionopen => won't fix
2010-11-09 22:57Philip LowmanStatusresolved => closed

Notes
(0015691)
Bill Hoffman   
2009-03-15 22:27   
Can you explain what this patch actually does?
(0022373)
goatboy160   
2010-09-28 12:02   
Sorry for not responding this was originally posted on the mailing list. It puts the projects in directories that correspond to the File system directories. We have many projects and one flat display makes it nearly impossible to find anything, so organizing by the file system structure makes it much easier to find projects/files in a large solution.
(0022860)
David Cole   
2010-11-04 16:58   
This patch, I think, is superseded by the fix for the related issue 0003796 ...

The FOLDER target property may be used to group vcproj tree elements together in a nested fashion. And the source_group command may be used to put files into groups.

If you want a feature that automatically sets up FOLDER values based on directory path, we should re-work this patch in terms of the new FOLDER property.