diff options
author | Joerg Bornemann <joerg.bornemann@digia.com> | 2012-11-05 14:12:21 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@digia.com> | 2012-11-06 16:53:52 +0100 |
commit | db1a70a524dfb44eca43bab76c83bf56195e2684 (patch) | |
tree | 8441cd9c824981ea9e418cd4947f42aed5872b46 /share/qbs/modules/cpp/msvc.js | |
parent | b60b72191a35aaac6b2a80a4578359e4d6471ac8 (diff) |
filter MSVC linker output
link.exe prints "Creating library foo.dll" which disturbs the output
of qbs. Unfortunately there's no linker switch to turn off this
annoyance.
Change-Id: Ic6e5c30f475c9d1e6afb8122130a62193ac645aa
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'share/qbs/modules/cpp/msvc.js')
-rw-r--r-- | share/qbs/modules/cpp/msvc.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/share/qbs/modules/cpp/msvc.js b/share/qbs/modules/cpp/msvc.js index 0258e7068..c67da1861 100644 --- a/share/qbs/modules/cpp/msvc.js +++ b/share/qbs/modules/cpp/msvc.js @@ -155,6 +155,11 @@ function prepareLinker(product, inputs, outputs, libraryPaths, dynamicLibraries, cmd.workingDirectory = FileInfo.path(primaryOutput.fileName) cmd.responseFileThreshold = product.module.responseFileThreshold cmd.responseFileUsagePrefix = '@'; + cmd.stdoutFilterFunction = + function(output) + { + return output.replace(/^ +Creating library.*\r\n$/, ""); + }; commands.push(cmd); if (generateManifestFiles) { |