Commit 22f11292 authored by Daniel Teske's avatar Daniel Teske
Browse files

MsvcToolchain: Don't create a excessivly long command line for cl.exe

Task-number: QTCREATORBUG-11600
Change-Id: I616f54920d207546b6b8d44aa97341bb8118074e
Reviewed-by: default avatarTobias Hunger <>
parent 660014f0
......@@ -190,6 +190,8 @@ QByteArray MsvcToolChain::msvcPredefinedMacros(const QStringList cxxflags,
predefinedMacros += "#undef ";
predefinedMacros += arg.mid(2).toLocal8Bit();
predefinedMacros += '\n';
} else if (arg.startsWith(QLatin1String("-I"))) {
// Include paths should not have any effect on defines
} else {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment