cmGlobalGenerator: Host the MakeSilentFlag.

This commit is contained in:
Stephen Kelly
2015-05-16 05:23:06 +02:00
parent 2047144f49
commit 684e5cefb2
6 changed files with 8 additions and 14 deletions
+4 -4
View File
@@ -2140,10 +2140,12 @@ cmLocalUnixMakefileGenerator3
cmd += this->Convert(makefile,NONE,SHELL);
cmd += " ";
cmGlobalUnixMakefileGenerator3* gg =
static_cast<cmGlobalUnixMakefileGenerator3*>(this->GlobalGenerator);
// Pass down verbosity level.
if(!this->GetMakeSilentFlag().empty())
if(!gg->MakeSilentFlag.empty())
{
cmd += this->GetMakeSilentFlag();
cmd += gg->MakeSilentFlag;
cmd += " ";
}
@@ -2151,8 +2153,6 @@ cmLocalUnixMakefileGenerator3
// sub-invoked makes via an environment variable. However, some
// makes do not support that, so you have to pass the flags
// explicitly.
cmGlobalUnixMakefileGenerator3* gg =
static_cast<cmGlobalUnixMakefileGenerator3*>(this->GlobalGenerator);
if(gg->PassMakeflags)
{
cmd += "-$(MAKEFLAGS) ";