diff options
author | Ken Martin <ken.martin@kitware.com> | 2002-09-04 19:24:49 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2002-09-04 19:24:49 (GMT) |
commit | 5b0611d70955696f853f197cd0cc2057eb063ed6 (patch) | |
tree | fcc795aed9589b45271de3bc1b22c39a0e0e23ce /Source/cmGlobalGenerator.cxx | |
parent | 49aebe6c99934dec634a3b497128465645db406c (diff) | |
download | CMake-5b0611d70955696f853f197cd0cc2057eb063ed6.zip CMake-5b0611d70955696f853f197cd0cc2057eb063ed6.tar.gz CMake-5b0611d70955696f853f197cd0cc2057eb063ed6.tar.bz2 |
updates
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 90d7c96..19f4f9a 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -19,6 +19,11 @@ #include "cmake.h" #include "cmMakefile.h" +cmGlobalGenerator::cmGlobalGenerator() +{ + m_LanguagesEnabled = false; +} + cmGlobalGenerator::~cmGlobalGenerator() { // Delete any existing cmLocalGenerators @@ -62,6 +67,7 @@ void cmGlobalGenerator::Configure() // set the Start directories lg->GetMakefile()->SetStartDirectory(m_CMakeInstance->GetHomeDirectory()); lg->GetMakefile()->SetStartOutputDirectory(m_CMakeInstance->GetHomeOutputDirectory()); + lg->GetMakefile()->MakeStartDirectoriesCurrent(); // now do it this->RecursiveConfigure(lg); @@ -94,6 +100,7 @@ void cmGlobalGenerator::RecursiveConfigure(cmLocalGenerator *lg) currentDir += "/"; currentDir += subdirs[i]; lg2->GetMakefile()->SetStartDirectory(currentDir.c_str()); + lg2->GetMakefile()->MakeStartDirectoriesCurrent(); this->RecursiveConfigure(lg2); } @@ -119,6 +126,7 @@ void cmGlobalGenerator::LocalGenerate() // set the Start directories lg->GetMakefile()->SetStartDirectory(m_CMakeInstance->GetHomeDirectory()); lg->GetMakefile()->SetStartOutputDirectory(m_CMakeInstance->GetHomeOutputDirectory()); + lg->GetMakefile()->MakeStartDirectoriesCurrent(); // now do trhe configure lg->Configure(); |