diff options
author | Patrick Gansterer <paroga@paroga.com> | 2010-08-16 19:49:14 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-08-24 21:36:09 (GMT) |
commit | 807fca4ce67e4c95133082060b82fdecca30fcde (patch) | |
tree | f43877fed364517f86194b20d314935a4be427aa /Source/cmGlobalVisualStudio8Generator.h | |
parent | d5e3e04a23e270de97c8614aaca9663d64c42942 (diff) | |
download | CMake-807fca4ce67e4c95133082060b82fdecca30fcde.zip CMake-807fca4ce67e4c95133082060b82fdecca30fcde.tar.gz CMake-807fca4ce67e4c95133082060b82fdecca30fcde.tar.bz2 |
VS: Convert PlatformName member to a virtual method
Diffstat (limited to 'Source/cmGlobalVisualStudio8Generator.h')
-rw-r--r-- | Source/cmGlobalVisualStudio8Generator.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.h b/Source/cmGlobalVisualStudio8Generator.h index 9d836bd..ceee53b 100644 --- a/Source/cmGlobalVisualStudio8Generator.h +++ b/Source/cmGlobalVisualStudio8Generator.h @@ -32,14 +32,14 @@ public: return cmGlobalVisualStudio8Generator::GetActualName();} static const char* GetActualName() {return "Visual Studio 8 2005";} + virtual const char* GetPlatformName() const {return "Win32";} + /** Get the documentation entry for this generator. */ virtual void GetDocumentation(cmDocumentationEntry& entry) const; ///! Create a local generator appropriate to this Global Generator virtual cmLocalGenerator *CreateLocalGenerator(); - std::string const& GetPlatformName() const { return this->PlatformName; } - /** * Override Configure and Generate to add the build-system check * target. @@ -78,6 +78,5 @@ protected: virtual void WriteProjectConfigurations(std::ostream& fout, const char* name, bool partOfDefaultBuild); - std::string PlatformName; // Win32 or x64 }; #endif |