summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio6Generator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-09-15 15:31:54 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-09-15 15:31:54 (GMT)
commitb1f3e1043915666079a9ca4b82d0fe3548c50d36 (patch)
tree3751ea9501ea0ae8b904667bc154d3256fa8193f /Source/cmGlobalVisualStudio6Generator.cxx
parent49b554c1b3f17171f768214182483b4ec3cf73cd (diff)
downloadCMake-b1f3e1043915666079a9ca4b82d0fe3548c50d36.zip
CMake-b1f3e1043915666079a9ca4b82d0fe3548c50d36.tar.gz
CMake-b1f3e1043915666079a9ca4b82d0fe3548c50d36.tar.bz2
BUG: make sure env CC and CXX are not set for VS IDE builds
Diffstat (limited to 'Source/cmGlobalVisualStudio6Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio6Generator.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio6Generator.cxx b/Source/cmGlobalVisualStudio6Generator.cxx
index e40e77d..474d911 100644
--- a/Source/cmGlobalVisualStudio6Generator.cxx
+++ b/Source/cmGlobalVisualStudio6Generator.cxx
@@ -30,6 +30,9 @@ void cmGlobalVisualStudio6Generator::EnableLanguage(std::vector<std::string>cons
mf->AddDefinition("CMAKE_CFG_INTDIR","$(IntDir)");
mf->AddDefinition("CMAKE_GENERATOR_CC", "cl");
mf->AddDefinition("CMAKE_GENERATOR_CXX", "cl");
+ mf->AddDefinition("CMAKE_GENERATOR_RC", "rc");
+ mf->AddDefinition("CMAKE_GENERATOR_NO_COMPILER_ENV", "1");
+ mf->AddDefinition("CMAKE_GENERATOR_Fortran", "ifort");
this->GenerateConfigurations(mf);
this->cmGlobalGenerator::EnableLanguage(lang, mf);
}