summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileLibraryTargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-02-07 00:07:24 (GMT)
committerBrad King <brad.king@kitware.com>2015-02-07 00:07:24 (GMT)
commit7bb50e4a31ad5a8a58fe60885014d431a887b27f (patch)
tree8b1ac8ada68cbb2aa0f89cd04f54e3313a4f5223 /Source/cmMakefileLibraryTargetGenerator.cxx
parentc6ada8275b680e02f50a7aee1c02b0b184cadf83 (diff)
downloadCMake-7bb50e4a31ad5a8a58fe60885014d431a887b27f.zip
CMake-7bb50e4a31ad5a8a58fe60885014d431a887b27f.tar.gz
CMake-7bb50e4a31ad5a8a58fe60885014d431a887b27f.tar.bz2
Makefile: Add progress to link step messages
Diffstat (limited to 'Source/cmMakefileLibraryTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileLibraryTargetGenerator.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmMakefileLibraryTargetGenerator.cxx b/Source/cmMakefileLibraryTargetGenerator.cxx
index cdda36c..84761cc 100644
--- a/Source/cmMakefileLibraryTargetGenerator.cxx
+++ b/Source/cmMakefileLibraryTargetGenerator.cxx
@@ -341,8 +341,11 @@ void cmMakefileLibraryTargetGenerator::WriteLibraryRules
this->Convert(targetFullPathImport,cmLocalGenerator::START_OUTPUT,
cmLocalGenerator::SHELL);
+ this->NumberOfProgressActions++;
if(!this->NoRuleMessages)
{
+ cmLocalUnixMakefileGenerator3::EchoProgress progress;
+ this->MakeEchoProgress(progress);
// Add the link message.
std::string buildEcho = "Linking ";
buildEcho += linkLanguage;
@@ -365,7 +368,8 @@ void cmMakefileLibraryTargetGenerator::WriteLibraryRules
}
buildEcho += targetOutPath.c_str();
this->LocalGenerator->AppendEcho(commands, buildEcho.c_str(),
- cmLocalUnixMakefileGenerator3::EchoLink);
+ cmLocalUnixMakefileGenerator3::EchoLink,
+ &progress);
}
const char* forbiddenFlagVar = 0;