diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-05-15 17:02:28 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-05-15 17:02:28 (GMT) |
commit | fd8e45d4a1c4f6b6dbd5edb99d77244f6cf836ff (patch) | |
tree | 930ed09668896b9989e4f341deaca24bc5de1685 /Source/cmGlobalUnixMakefileGenerator3.cxx | |
parent | 000bce884dacc774ef50a76714bc1e7d2687a90a (diff) | |
download | CMake-fd8e45d4a1c4f6b6dbd5edb99d77244f6cf836ff.zip CMake-fd8e45d4a1c4f6b6dbd5edb99d77244f6cf836ff.tar.gz CMake-fd8e45d4a1c4f6b6dbd5edb99d77244f6cf836ff.tar.bz2 |
ENH: Add simple progress reporting during make
Diffstat (limited to 'Source/cmGlobalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmGlobalUnixMakefileGenerator3.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx index 4f53815..4b22f07 100644 --- a/Source/cmGlobalUnixMakefileGenerator3.cxx +++ b/Source/cmGlobalUnixMakefileGenerator3.cxx @@ -623,6 +623,8 @@ cmGlobalUnixMakefileGenerator3 commands.clear(); commands.push_back(lg->GetRecursiveMakeCall ("CMakeFiles/Makefile2",t->second.GetName())); + std::string echoCommand = "@echo \"\""; + commands.push_back(echoCommand.c_str()); depends.clear(); depends.push_back("cmake_check_build_system"); lg->WriteMakeRule(ruleFileStream, @@ -675,6 +677,7 @@ cmGlobalUnixMakefileGenerator3 std::string localName; std::string makeTargetName; + // write the directory level rules for this local gen this->WriteDirectoryRules2(ruleFileStream,lg); @@ -707,6 +710,8 @@ cmGlobalUnixMakefileGenerator3 << localName << "\n\n"; commands.clear(); + std::string echoCommand = "@$(CMAKE_COMMAND) -E echo_append \".\""; + commands.push_back(echoCommand.c_str()); if (t->second.GetType() != cmTarget::UTILITY) { makeTargetName = localName; @@ -731,6 +736,7 @@ cmGlobalUnixMakefileGenerator3 // Write the rule. localName += "/all"; depends.clear(); + this->AppendGlobalTargetDepends(depends,t->second); lg->WriteMakeRule(ruleFileStream, "All Build rule for target.", localName.c_str(), depends, commands, true); |