ENH: always compile progress

This commit is contained in:
Ken Martin
2006-05-23 09:11:46 -04:00
parent 4a2d72d313
commit 50d058a3a1
8 changed files with 269 additions and 18 deletions
+21 -2
View File
@@ -1408,13 +1408,32 @@ void cmLocalUnixMakefileGenerator3
depends.push_back("cmake_check_build_system");
if (!this->Parent)
{
cmGlobalUnixMakefileGenerator3 *gg =
static_cast<cmGlobalUnixMakefileGenerator3*>(this->GlobalGenerator);
cmOStringStream progCmd;
progCmd << "$(CMAKE_COMMAND) -E cmake_progress_start ";
progCmd << this->Makefile->GetHomeOutputDirectory();
progCmd << "/CMakeFiles 100";
commands.push_back(progCmd.str());
}
commands.push_back
(this->GetRecursiveMakeCall("CMakeFiles/Makefile2",dir.c_str()));
this->CreateCDCommand(commands,
this->Makefile->GetHomeOutputDirectory(),
this->Makefile->GetStartOutputDirectory());
std::string echoCommand = "@echo \"\"";
commands.push_back(echoCommand.c_str());
if (!this->Parent)
{
cmGlobalUnixMakefileGenerator3 *gg =
static_cast<cmGlobalUnixMakefileGenerator3*>(this->GlobalGenerator);
cmOStringStream progCmd;
progCmd << "$(CMAKE_COMMAND) -E cmake_progress_start ";
progCmd << this->Makefile->GetHomeOutputDirectory();
progCmd << "/CMakeFiles 0";
commands.push_back(progCmd.str());
}
this->WriteMakeRule(ruleFileStream, "The main all target", "all",
depends, commands, true);