diff options
author | Ken Martin <ken.martin@kitware.com> | 2002-09-06 17:06:23 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2002-09-06 17:06:23 (GMT) |
commit | 25ff4552b3d17c9c4f601c7f488710c4350323d1 (patch) | |
tree | 79475f5fb9965ad672bb85ae245130f63e632cce /Source/cmGlobalGenerator.cxx | |
parent | 2c7e9b3b59cda840adc2aa4c3bfe1ffa0707be99 (diff) | |
download | CMake-25ff4552b3d17c9c4f601c7f488710c4350323d1.zip CMake-25ff4552b3d17c9c4f601c7f488710c4350323d1.tar.gz CMake-25ff4552b3d17c9c4f601c7f488710c4350323d1.tar.bz2 |
new arch
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 19f4f9a..14239a7 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -52,6 +52,9 @@ void cmGlobalGenerator::ClearEnabledLanguages() void cmGlobalGenerator::Configure() { + // reset theLanguages + m_LanguagesEnabled = false; + // Delete any existing cmLocalGenerators int i; for (i = 0; i < m_LocalGenerators.size(); ++i) @@ -65,8 +68,8 @@ void cmGlobalGenerator::Configure() m_LocalGenerators.push_back(lg); // set the Start directories - lg->GetMakefile()->SetStartDirectory(m_CMakeInstance->GetHomeDirectory()); - lg->GetMakefile()->SetStartOutputDirectory(m_CMakeInstance->GetHomeOutputDirectory()); + lg->GetMakefile()->SetStartDirectory(m_CMakeInstance->GetStartDirectory()); + lg->GetMakefile()->SetStartOutputDirectory(m_CMakeInstance->GetStartOutputDirectory()); lg->GetMakefile()->MakeStartDirectoriesCurrent(); // now do it @@ -124,8 +127,8 @@ void cmGlobalGenerator::LocalGenerate() cmLocalGenerator *lg = this->CreateLocalGenerator(); // set the Start directories - lg->GetMakefile()->SetStartDirectory(m_CMakeInstance->GetHomeDirectory()); - lg->GetMakefile()->SetStartOutputDirectory(m_CMakeInstance->GetHomeOutputDirectory()); + lg->GetMakefile()->SetStartDirectory(m_CMakeInstance->GetStartDirectory()); + lg->GetMakefile()->SetStartOutputDirectory(m_CMakeInstance->GetStartOutputDirectory()); lg->GetMakefile()->MakeStartDirectoriesCurrent(); // now do trhe configure |