diff options
author | David Cole <david.cole@kitware.com> | 2011-08-23 22:22:33 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2011-08-24 22:11:32 (GMT) |
commit | 1834f232a7f782eadd238a78481e3f9086095e97 (patch) | |
tree | 88f10cdfeb70c609a68749636488200dcf184d08 /Source/cmXCodeObject.h | |
parent | fe46e7e4866bd1a7678e1381da02df8c9f533aa0 (diff) | |
download | CMake-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.h | 4 |
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; |