diff options
author | Andy Shaw <andy.shaw@digia.com> | 2013-06-12 08:31:40 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-06-20 15:15:45 +0200 |
commit | 442bce78c1f51a9625eb57b4659becdbb3280591 (patch) | |
tree | 225f929ffe8d094036fe9682cdd5b3a356ea00f8 | |
parent | d806944f067268f13b0892a6158e40225c82a3f5 (diff) |
Don't depend on the command for extra compilers automatically
For vcproj files we should not automatically add a dependency for extra
compilers as this should be done via the depends variable for the extra
compiler instead.
This fixes a problem where something like '@echo command' was used in the
command as it would depend on echo and not the actual command anyway.
Change-Id: I7c0aa0d62143aa39c518e8bce65f302afdba33c9
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
-rw-r--r-- | qmake/generators/win32/msvc_objectmodel.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/qmake/generators/win32/msvc_objectmodel.cpp b/qmake/generators/win32/msvc_objectmodel.cpp index 99f69bfa72..725aba26a2 100644 --- a/qmake/generators/win32/msvc_objectmodel.cpp +++ b/qmake/generators/win32/msvc_objectmodel.cpp @@ -2335,7 +2335,6 @@ bool VCFilter::addExtraCompiler(const VCFilterFile &info) CustomBuildTool.Outputs += out; deps += CustomBuildTool.AdditionalDependencies; - deps += cmd.left(cmd.indexOf(' ')); // Make sure that all deps are only once QHash<QString, bool> uniqDeps; for (int c = 0; c < deps.count(); ++c) { |