From 31cfe5ca1b5006566051942254d977581a769e3e Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Mon, 16 Apr 2012 10:27:10 +0200 Subject: [PATCH] qmake vcxproj generator: fix handling of /MANIFEST:NO linker option Task-number: QTBUG-23513 Change-Id: I5dd6fb6fd7910e43acd28057133a3ad6613cfc1a Reviewed-by: Oswald Buddenhagen Reviewed-by: Joerg Bornemann --- qmake/generators/win32/msbuild_objectmodel.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/qmake/generators/win32/msbuild_objectmodel.cpp b/qmake/generators/win32/msbuild_objectmodel.cpp index 3410c296ce..235e7ff634 100644 --- a/qmake/generators/win32/msbuild_objectmodel.cpp +++ b/qmake/generators/win32/msbuild_objectmodel.cpp @@ -660,6 +660,13 @@ void VCXProjectWriter::write(XmlOutput &xml, VCProject &tool) << valueTagT(ts); } + const triState generateManifest = tool.SingleProjects.at(i).Configuration.linker.GenerateManifest; + if (generateManifest != unset) { + xml << tag("GenerateManifest") + << attrTag("Condition", QString("'$(Configuration)|$(Platform)'=='%1'").arg(tool.SingleProjects.at(i).Configuration.Name)) + << valueTagT(generateManifest); + } + if ( tool.SingleProjects.at(i).Configuration.preBuild.ExcludedFromBuild != unset ) { xml << tag("PreBuildEventUseInBuild")