summaryrefslogtreecommitdiffstats
path: root/Source/cmXCodeObject.h
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2011-08-23 22:22:33 (GMT)
committerDavid Cole <david.cole@kitware.com>2011-08-24 22:11:32 (GMT)
commit1834f232a7f782eadd238a78481e3f9086095e97 (patch)
tree88f10cdfeb70c609a68749636488200dcf184d08 /Source/cmXCodeObject.h
parentfe46e7e4866bd1a7678e1381da02df8c9f533aa0 (diff)
downloadCMake-1834f232a7f782eadd238a78481e3f9086095e97.zip
CMake-1834f232a7f782eadd238a78481e3f9086095e97.tar.gz
CMake-1834f232a7f782eadd238a78481e3f9086095e97.tar.bz2
Xcode: Save object id values in CMakeCache.txt (#11690)
For project and target objects, save their ids in CMakeCache.txt. Hopefully, that will be enough to allow user settings to be saved across multiple CMake generate operations. Other object types may also need their ids saved: if so, more code than this commit will be necessary...
Diffstat (limited to 'Source/cmXCodeObject.h')
-rw-r--r--Source/cmXCodeObject.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmXCodeObject.h b/Source/cmXCodeObject.h
index 369fe66..2fb96f3 100644
--- a/Source/cmXCodeObject.h
+++ b/Source/cmXCodeObject.h
@@ -83,6 +83,10 @@ public:
{
return this->Id.c_str();
}
+ void SetId(const char* id)
+ {
+ this->Id = id;
+ }
cmTarget* GetTarget()
{
return this->Target;