COMP: warning fix

This commit is contained in:
Ken Martin 2006-06-27 14:26:35 -04:00
parent bec28bb03b
commit dcbb4e4461
1 changed files with 18 additions and 19 deletions

View File

@ -1448,6 +1448,7 @@ void cmLocalUnixMakefileGenerator3
std::string progressDir = this->Makefile->GetHomeOutputDirectory();
progressDir += cmake::GetCMakeFilesDirectory();
{
cmOStringStream progCmd;
progCmd << "$(CMAKE_COMMAND) -E cmake_progress_start "; // # src files
progCmd << this->Convert(progressDir.c_str(),
@ -1466,7 +1467,7 @@ void cmLocalUnixMakefileGenerator3
}
progCmd << " " << n;
commands.push_back(progCmd.str());
}
std::string mf2Dir = cmake::GetCMakeFilesDirectoryPostSlash();
mf2Dir += "Makefile2";
commands.push_back(this->GetRecursiveMakeCall(mf2Dir.c_str(),
@ -1476,8 +1477,6 @@ void cmLocalUnixMakefileGenerator3
this->Makefile->GetStartOutputDirectory());
if (!this->Parent)
{
std::string progressDir = this->Makefile->GetHomeOutputDirectory();
progressDir += cmake::GetCMakeFilesDirectory();
cmOStringStream progCmd;
progCmd << "$(CMAKE_COMMAND) -E cmake_progress_start "; // # 0
progCmd << this->Convert(progressDir.c_str(),