diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2018-07-08 09:31:17 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2018-07-10 10:43:54 +0000 |
commit | 894e8b0b098da28206c6c3c632868496579b1ead (patch) | |
tree | 1ad6392b0480d5b6e385a30610a81ffeb6f01e27 | |
parent | bf7cc41694a20f013adb6c4add0fb3c50d84a4e8 (diff) |
MSVC: Suppress "performing full link" message
Building a DLL in debug mode for the first time shows the following error
message, which also causes the entire command to be printed out:
LINK : F:\Projects\...\Library.dll not found or not built by the last
incremental link; performing full link
Change-Id: I17d530e184074796b17178ae9efce66bc877ffa2
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
-rw-r--r-- | share/qbs/modules/cpp/msvc.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qbs/modules/cpp/msvc.js b/share/qbs/modules/cpp/msvc.js index 8a2fc4d7a..d6df99dc2 100644 --- a/share/qbs/modules/cpp/msvc.js +++ b/share/qbs/modules/cpp/msvc.js @@ -473,7 +473,7 @@ function prepareLinker(project, product, inputs, outputs, input, output) { cmd.workingDirectory = FileInfo.path(primaryOutput.filePath) cmd.responseFileUsagePrefix = '@'; cmd.stdoutFilterFunction = function(output) { - return output.replace(/^ +Creating library.*\r\n$/, ""); + return output.replace(/^(.*performing full link.*\r\n)? +Creating library.*\r\n$/, ""); }; commands.push(cmd); |