diff options
author | Brad King <brad.king@kitware.com> | 2005-11-22 18:37:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-11-22 18:37:42 (GMT) |
commit | d952f68738c33c7cbc5a815d28383e07be806e30 (patch) | |
tree | 1bb5bf1416a89745dbb343f408344ae546c9b852 /Source/cmGlobalVisualStudio7Generator.h | |
parent | abebb974aa1983b4cbdd5a2d886908d735530694 (diff) | |
download | CMake-d952f68738c33c7cbc5a815d28383e07be806e30.zip CMake-d952f68738c33c7cbc5a815d28383e07be806e30.tar.gz CMake-d952f68738c33c7cbc5a815d28383e07be806e30.tar.bz2 |
BUG: Tweak VS8 generator to keep VS8 happy. The .vcproj files need their own GUIDs in a ProjectGUID attribute. The top level .sln file needs a special comment at the top to allow it to be opened with double-click in explorer.
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.h')
-rw-r--r-- | Source/cmGlobalVisualStudio7Generator.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.h b/Source/cmGlobalVisualStudio7Generator.h index 93d697d..e5c7ff4 100644 --- a/Source/cmGlobalVisualStudio7Generator.h +++ b/Source/cmGlobalVisualStudio7Generator.h @@ -74,13 +74,14 @@ public: */ std::vector<std::string> *GetConfigurations(); - ///! Create a GUID + ///! Create a GUID or get an existing one. void CreateGUID(const char* name); + std::string GetGUID(const char* name); ///! do configure step virtual void Configure(); + protected: - std::string GetGUID(const char* name); virtual void OutputSLNFile(cmLocalGenerator* root, std::vector<cmLocalGenerator*>& generators); virtual void WriteSLNFile(std::ostream& fout, cmLocalGenerator* root, |