MantisBT - CMake |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0008313 | CMake | CMake | public | 2008-12-18 01:42 | 2016-06-10 14:30 |
|
| Reporter | Baron L. Roberts | |
| Assigned To | Bill Hoffman | |
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | moved | |
| Platform | | OS | | OS Version | |
| Product Version | CMake-2-6 | |
| Target Version | | Fixed in Version | | |
|
| Summary | 0008313: Cannot use SCM with CMake generated XCode projects |
| Description | XCode 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. |
| Steps To Reproduce | |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | |
| Attached Files | projectRoot.patch (1,012) 2008-12-18 01:42 https://public.kitware.com/Bug/file/1931/projectRoot.patch
projectRoot-2.patch (1,214) 2009-07-22 01:48 https://public.kitware.com/Bug/file/2375/projectRoot-2.patch |
|
| 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 |