diff options
author | Patrick Gansterer <paroga@paroga.com> | 2013-08-05 10:49:32 (GMT) |
---|---|---|
committer | Patrick Gansterer <paroga@paroga.com> | 2013-08-05 11:38:23 (GMT) |
commit | 4b15dc855d8f5347169391b6a1a86320f2efaae4 (patch) | |
tree | 8174d7940f650b9b829d45de56cd804137289704 /Source/cmGlobalVisualStudio7Generator.h | |
parent | 60e568cf790705b3ed7a61d6768ba6220bfbabe8 (diff) | |
download | CMake-4b15dc855d8f5347169391b6a1a86320f2efaae4.zip CMake-4b15dc855d8f5347169391b6a1a86320f2efaae4.tar.gz CMake-4b15dc855d8f5347169391b6a1a86320f2efaae4.tar.bz2 |
VS: Set CMAKE_VS_PLATFORM_NAME for VS7 and VS71 too
Move the code which sets CMAKE_VS_PLATFORM_NAME from
cmGlobalVisualStudio8Generator to cmGlobalVisualStudio7Generator.
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.h')
-rw-r--r-- | Source/cmGlobalVisualStudio7Generator.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.h b/Source/cmGlobalVisualStudio7Generator.h index 3ebb408..dfa8547 100644 --- a/Source/cmGlobalVisualStudio7Generator.h +++ b/Source/cmGlobalVisualStudio7Generator.h @@ -36,9 +36,14 @@ public: return cmGlobalVisualStudio7Generator::GetActualName();} static const char* GetActualName() {return "Visual Studio 7";} + ///! Get the name for the platform. + const char* GetPlatformName() const; + ///! Create a local generator appropriate to this Global Generator virtual cmLocalGenerator *CreateLocalGenerator(); + virtual void AddPlatformDefinitions(cmMakefile* mf); + /** Get the documentation entry for this generator. */ static void GetDocumentation(cmDocumentationEntry& entry); @@ -153,6 +158,7 @@ protected: // Set during OutputSLNFile with the name of the current project. // There is one SLN file per project. std::string CurrentProject; + std::string PlatformName; }; #define CMAKE_CHECK_BUILD_SYSTEM_TARGET "ZERO_CHECK" |