summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio7Generator.h
diff options
context:
space:
mode:
authorPatrick Gansterer <paroga@paroga.com>2013-08-05 10:49:32 (GMT)
committerPatrick Gansterer <paroga@paroga.com>2013-08-05 11:38:23 (GMT)
commit4b15dc855d8f5347169391b6a1a86320f2efaae4 (patch)
tree8174d7940f650b9b829d45de56cd804137289704 /Source/cmGlobalVisualStudio7Generator.h
parent60e568cf790705b3ed7a61d6768ba6220bfbabe8 (diff)
downloadCMake-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.h6
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"