From 442bce78c1f51a9625eb57b4659becdbb3280591 Mon Sep 17 00:00:00 2001 From: Andy Shaw Date: Wed, 12 Jun 2013 08:31:40 +0200 Subject: 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 --- qmake/generators/win32/msvc_objectmodel.cpp | 1 - 1 file changed, 1 deletion(-) 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 uniqDeps; for (int c = 0; c < deps.count(); ++c) { -- cgit v1.2.3