diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2020-11-11 12:40:47 (GMT) |
---|---|---|
committer | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2020-11-11 12:46:58 (GMT) |
commit | 8e2eba6b4c7f421029e14051a2d89b231284d055 (patch) | |
tree | 2eadcdd328d81456eb316d846691bbbc66739dfb /Source/cmcmd.cxx | |
parent | e31ccdd4c4547d74ac9c8694e2d08b692f2b6fbd (diff) | |
download | CMake-8e2eba6b4c7f421029e14051a2d89b231284d055.zip CMake-8e2eba6b4c7f421029e14051a2d89b231284d055.tar.gz CMake-8e2eba6b4c7f421029e14051a2d89b231284d055.tar.bz2 |
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
Diffstat (limited to 'Source/cmcmd.cxx')
-rw-r--r-- | Source/cmcmd.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |