View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008313CMakeCMakepublic2008-12-18 01:422016-06-10 14:30
ReporterBaron L. Roberts 
Assigned ToBill Hoffman 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in Version 
Summary0008313: Cannot use SCM with CMake generated XCode projects
DescriptionXCode projects generated using CMake 2.6.2 cannot be used with source control because the projectRoot attribute is set to the path to the project file. While that might appear to be the correct setting, it turns out that this attribute must be set to the empty string in order to manage the files in the project using SCM. In order to allow the project file to be located somewhere in the tree other than the root, the projectDirPath attribute must be set to the root of the source tree. The attached patch sets projectRoot to "" and projectDirPath to the proot value. I do this only for XCode 3.1 and higher because I cannot test any of the older versions and so assume that the existing behavior should be unchanged.
TagsNo tags attached.
Attached Filespatch file icon projectRoot.patch [^] (1,012 bytes) 2008-12-18 01:42 [Show Content]
patch file icon projectRoot-2.patch [^] (1,214 bytes) 2009-07-22 01:48 [Show Content]

 Relationships

  Notes
(0016929)
Doug Gregor (reporter)
2009-07-22 01:49

Updated patch against today's CVS. Please apply: this is a good (albeit minor) step forward for Xcode support.
(0027274)
Johan Björk (reporter)
2011-08-27 12:33

I wonder how it interacts with the XCode 4 git support, anyone tried?
(0041484)
Kitware Robot (administrator)
2016-06-10 14:27

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.

 Issue History
Date Modified Username Field Change
2008-12-18 01:42 Baron L. Roberts New Issue
2008-12-18 01:42 Baron L. Roberts File Added: projectRoot.patch
2009-02-03 11:39 Bill Hoffman Status new => assigned
2009-02-03 11:39 Bill Hoffman Assigned To => Bill Hoffman
2009-07-22 01:48 Doug Gregor File Added: projectRoot-2.patch
2009-07-22 01:49 Doug Gregor Note Added: 0016929
2011-08-27 12:33 Johan Björk Note Added: 0027274
2016-06-10 14:27 Kitware Robot Note Added: 0041484
2016-06-10 14:27 Kitware Robot Status assigned => resolved
2016-06-10 14:27 Kitware Robot Resolution open => moved
2016-06-10 14:30 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team