瀏覽代碼

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 年之前
父節點
當前提交
7ac092bd39
共有 1 個文件被更改,包括 1 次插入1 次删除
  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) {