[cmake-developers] [CMake 0011690]: Xcode project generator always overwrites user settings

Mantis Bug Tracker mantis at public.kitware.com
Wed Jan 12 14:56:02 EST 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=11690 
====================================================================== 
Reported By:                jdale
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   11690
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   high
Status:                     new
====================================================================== 
Date Submitted:             2011-01-12 14:56 EST
Last Modified:              2011-01-12 14:56 EST
====================================================================== 
Summary:                    Xcode project generator always overwrites user
settings
Description: 
When generating an Xcode project using CMake, it will completely remove
"<project name>.xcodeproj" before generating a new one. The problem with this is
that "<project name>.xcodeproj" is actually a folder, not a file.

Contained within this folder you will find the following:
project.pbxproj <-- The actual Xcode project information
<username>.pbxuser <-- Your user data for this project
<username>.mode1v3 (or something similar) <-- Your layout data for this project

When generating an Xcode project, it should *only* generate a new "<project
name>.xcodeproj" *if* one doesn't already exist. If one does already exist, it
*only* needs to change the pbxproj file inside to update the Xcode project. This
will allow CMake to be run without constantly losing your user settings which is
*very* annoying when you're working on a project with multiple executables as it
keeps forgetting which one you had selected!

Steps to Reproduce: 
Create an Xcode project using CMake
Change some user settings (such as the build target)
Regenerate the Xcode project and reload it in Xcode
Your changes will be lost
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-12 14:56 jdale          New Issue                                    
======================================================================




More information about the cmake-developers mailing list