From 8e2eba6b4c7f421029e14051a2d89b231284d055 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Wed, 11 Nov 2020 14:40:47 +0200 Subject: MSVC: Suppress rc/mt/link output unless verbose is requested Output like the following is typically not interesting at all: LINK : program database F:\Project\Project.pdb missing; performing full link Creating library Project.lib and object Project.exp Fixes #21422 --- Source/cmcmd.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmcmd.cxx b/Source/cmcmd.cxx index f094085..a611dd7 100644 --- a/Source/cmcmd.cxx +++ b/Source/cmcmd.cxx @@ -2000,7 +2000,7 @@ static bool RunCommand(const char* comment, << NumberFormatter(exitFormat, retCode) << ") with the following output:\n" << output; - } else { + } else if (verbose) { // always print the output of the command, unless // it is the dumb rc command banner if (output.find("Resource Compiler Version") == std::string::npos) { -- cgit v0.12