summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio8Generator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-05-06 00:54:53 (GMT)
committerBrad King <brad.king@kitware.com>2006-05-06 00:54:53 (GMT)
commitbc135b7fc219187b5154e13f3606b64759f269fc (patch)
treed0b6d5c12313ce87f732836400f42ed3d7d595be /Source/cmGlobalVisualStudio8Generator.cxx
parentfad3e1dd77c430c90523bb10aafc848c26831d7c (diff)
downloadCMake-bc135b7fc219187b5154e13f3606b64759f269fc.zip
CMake-bc135b7fc219187b5154e13f3606b64759f269fc.tar.gz
CMake-bc135b7fc219187b5154e13f3606b64759f269fc.tar.bz2
BUG: MSVC* variables should be set in IDE generators instead of just NMake.
Diffstat (limited to 'Source/cmGlobalVisualStudio8Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio8Generator.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.cxx b/Source/cmGlobalVisualStudio8Generator.cxx
index 051f718..f92d7bb 100644
--- a/Source/cmGlobalVisualStudio8Generator.cxx
+++ b/Source/cmGlobalVisualStudio8Generator.cxx
@@ -57,6 +57,12 @@ void cmGlobalVisualStudio8Generator::GetDocumentation(cmDocumentationEntry& entr
}
//----------------------------------------------------------------------------
+void cmGlobalVisualStudio8Generator::AddPlatformDefinitions(cmMakefile* mf)
+{
+ mf->AddDefinition("MSVC80", "1");
+}
+
+//----------------------------------------------------------------------------
void cmGlobalVisualStudio8Generator::Configure()
{
this->cmGlobalVisualStudio7Generator::Configure();