summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-12-06 20:35:22 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-12-06 20:35:22 (GMT)
commitb0f4a4cb39927bf5490a5c6e3c0584ca277277c3 (patch)
tree8f0f5dd7a279cdabf108ab622adfb441a96b9049 /Source/cmGlobalVisualStudio7Generator.cxx
parent7987ce88cbf5b13eea118e78fa410c0305355280 (diff)
downloadCMake-b0f4a4cb39927bf5490a5c6e3c0584ca277277c3.zip
CMake-b0f4a4cb39927bf5490a5c6e3c0584ca277277c3.tar.gz
CMake-b0f4a4cb39927bf5490a5c6e3c0584ca277277c3.tar.bz2
ENH: fix IntDir jump and build problem
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio7Generator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx
index 8b61c08..a583a0e 100644
--- a/Source/cmGlobalVisualStudio7Generator.cxx
+++ b/Source/cmGlobalVisualStudio7Generator.cxx
@@ -30,6 +30,7 @@ cmGlobalVisualStudio7Generator::cmGlobalVisualStudio7Generator()
void cmGlobalVisualStudio7Generator::EnableLanguage(const char* lang,
cmMakefile *mf)
{
+ mf->AddDefinition("CMAKE_CFG_INTDIR","$(IntDir)");
mf->AddDefinition("CMAKE_GENERATOR_CC", "cl");
mf->AddDefinition("CMAKE_GENERATOR_CXX", "cl");
this->cmGlobalGenerator::EnableLanguage(lang, mf);