[cmake-developers] [CMake 0013375]: Xcode generator does not add path to source groups

Mantis Bug Tracker mantis at public.kitware.com
Wed Jul 4 18:54:08 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13375 
====================================================================== 
Reported By:                Francois Best
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13375
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-07-04 18:54 EDT
Last Modified:              2012-07-04 18:54 EDT
====================================================================== 
Summary:                    Xcode generator does not add path to source groups
Description: 
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.

Steps to Reproduce: 
Generate any Xcode project with source groups.

Additional Information: 
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".
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-07-04 18:54 Francois Best  New Issue                                    
======================================================================




More information about the cmake-developers mailing list