diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-01-21 17:56:51 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-01-21 17:56:51 (GMT) |
commit | 707b3e0809e95aa19e154c36a82208ec58aa2952 (patch) | |
tree | 82bfd486d9f5e2a013ece2acce7f9069efa1281b /Source | |
parent | 5eba99eda709c74769003360735a5e3641d9a2ba (diff) | |
download | CMake-2.4.8.zip CMake-2.4.8.tar.gz CMake-2.4.8.tar.bz2 |
ENH: final 2.4.8v2.4.8
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGlobalVisualStudio9Generator.cxx | 5 | ||||
-rw-r--r-- | Source/cmGlobalVisualStudio9Generator.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio9Generator.cxx b/Source/cmGlobalVisualStudio9Generator.cxx index 989c61a..ca21083 100644 --- a/Source/cmGlobalVisualStudio9Generator.cxx +++ b/Source/cmGlobalVisualStudio9Generator.cxx @@ -27,6 +27,11 @@ cmGlobalVisualStudio9Generator::cmGlobalVisualStudio9Generator() this->FindMakeProgramFile = "CMakeVS9FindMake.cmake"; } +//---------------------------------------------------------------------------- +void cmGlobalVisualStudio9Generator::AddPlatformDefinitions(cmMakefile* mf) +{ + mf->AddDefinition("MSVC90", "1"); +} void cmGlobalVisualStudio9Generator::WriteSLNHeader(std::ostream& fout) { diff --git a/Source/cmGlobalVisualStudio9Generator.h b/Source/cmGlobalVisualStudio9Generator.h index 4deceb0..6b79fc0 100644 --- a/Source/cmGlobalVisualStudio9Generator.h +++ b/Source/cmGlobalVisualStudio9Generator.h @@ -37,6 +37,7 @@ public: virtual const char* GetName() const { return cmGlobalVisualStudio9Generator::GetActualName();} static const char* GetActualName() {return "Visual Studio 9 2008";} + virtual void AddPlatformDefinitions(cmMakefile* mf); /** Get the documentation entry for this generator. */ virtual void GetDocumentation(cmDocumentationEntry& entry) const; |