MantisBT - CMake
View Issue Details
0013375CMakeCMakepublic2012-07-04 18:542016-06-10 14:31
Francois Best 
Kitware Robot 
normalminoralways
closedmoved 
AppleMac OS X10.6
CMake 2.8.8 
 
0013375: Xcode generator does not add path to source groups
The Xcode generator does not add the "path" information to generated source groups. All groups remain to the path of the project, although the architecture is generated and displayed correctly.

The point of having the path set is to add new files directly to the right location from within Xcode (eg using template files) without having to duplicate/move anything, just to edit the CMakeLists.txt.
Generate any Xcode project with source groups.
Note: the group path system can be quite elaborated, using the parent group as a reference and using relative paths, but this might be a bit overkill, absolute path would do the job nicely.

A problem with this is that one may want to create a source group that does not represent a physical folder on the fillesystem (just a way to sort things up). In this case (I don't know if that's easy to detect for you guys), a solution would be to keep the parent group path and define this group as "Relative to enclosing group".
No tags attached.
Issue History
2012-07-04 18:54Francois BestNew Issue
2016-06-10 14:28Kitware RobotNote Added: 0042080
2016-06-10 14:28Kitware RobotStatusnew => resolved
2016-06-10 14:28Kitware RobotResolutionopen => moved
2016-06-10 14:28Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0042080)
Kitware Robot   
2016-06-10 14:28   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.