diff options
author | Miguel Costa <miguel.costa@qt.io> | 2017-12-11 16:28:29 +0100 |
---|---|---|
committer | Miguel Costa <miguel.costa@qt.io> | 2017-12-12 14:36:42 +0000 |
commit | b182e1e8dd3f00bd00927897ea0b32e65e08b662 (patch) | |
tree | b034fa4b7fa60b4bf7a0c55480f447ce3a1f97d9 /src/qtprojectlib/QtMsBuild.cs | |
parent | 34f18d8347177d4233056999de0b007043f87ff2 (diff) |
Convert custom build command strings with multiple lines2.1
When converting custom build steps to Qt/MSBuild target items, the
conversion procedure will now be able to handle command strings with
multiple lines. In these cases, only the sub-string with the relevant
command will be considered. Custom build steps with multiple lines are
potentially problematic, e.g. if empty lines are present in the command
string (see associated issue for example of this problem).
Task-number: QTVSADDINBUG-414
Change-Id: I93ae2f233ee35d27462b9087ada58b1134102e87
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/qtprojectlib/QtMsBuild.cs')
-rw-r--r-- | src/qtprojectlib/QtMsBuild.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qtprojectlib/QtMsBuild.cs b/src/qtprojectlib/QtMsBuild.cs index 08f4bcb4..f85b4562 100644 --- a/src/qtprojectlib/QtMsBuild.cs +++ b/src/qtprojectlib/QtMsBuild.cs @@ -488,7 +488,7 @@ namespace QtProjectLib.QtMsBuild out string outputPath) { qtDir = inputPath = outputPath = ""; - if (!parser.Parse(commandLine)) + if (!parser.Parse(commandLine, toolExecName)) return false; string execPath = parser.PositionalArguments.Where( |