summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio9Generator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-01-18 19:34:48 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-01-18 19:34:48 (GMT)
commit77ef811c8ee8a209b03c546530adf2110f9fce4a (patch)
treed88863a79fb369eed75f61c8834c49e66249aa74 /Source/cmGlobalVisualStudio9Generator.cxx
parent0bbae2a5b28f269e51733b7e944cd6214dccbd53 (diff)
downloadCMake-77ef811c8ee8a209b03c546530adf2110f9fce4a.zip
CMake-77ef811c8ee8a209b03c546530adf2110f9fce4a.tar.gz
CMake-77ef811c8ee8a209b03c546530adf2110f9fce4a.tar.bz2
ENH: add MSVC90 define to vs9 ide
Diffstat (limited to 'Source/cmGlobalVisualStudio9Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio9Generator.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio9Generator.cxx b/Source/cmGlobalVisualStudio9Generator.cxx
index 0c37b7b..9899f9c 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)
{