Sfoglia il codice sorgente

Merge topic 'suppress-link-messages'

8e2eba6b4c MSVC: Suppress rc/mt/link output unless verbose is requested

Acked-by: Kitware Robot <[email protected]>
Merge-request: !5492
Brad King 5 anni fa
parent
commit
7ac092bd39
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Source/cmcmd.cxx

+ 1 - 1
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) {