summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qmake/generators/win32/msbuild_objectmodel.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/qmake/generators/win32/msbuild_objectmodel.cpp b/qmake/generators/win32/msbuild_objectmodel.cpp
index 684c01e..b87acf3 100644
--- a/qmake/generators/win32/msbuild_objectmodel.cpp
+++ b/qmake/generators/win32/msbuild_objectmodel.cpp
@@ -662,6 +662,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")