qmake: enable default reference for all winphone targets

The change adds a new ItemGroup with a single library reference:
platform.winmd.

Change-Id: I0c7f4c46654b520afb79b6c6f49b5f2d1af400d3
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
Kamil Trzcinski 2013-02-12 00:18:42 +01:00 committed by The Qt Project
parent 48ba0389ee
commit 7c8ef213b5

View File

@ -805,6 +805,16 @@ void VCXProjectWriter::write(XmlOutput &xml, VCProject &tool)
}
outputFilter(tool, xml, xmlFilter, "Root Files");
if (tool.SingleProjects.at(0).Configuration.WinPhone) {
xml << tag("ItemGroup")
<< tag("Reference")
<< attrTag("Include", "platform")
<< attrTagS("IsWinMDFile", "true")
<< attrTagS("Private", "false")
<< closetag()
<< closetag();
}
xml << import("Project", "$(VCTargetsPath)\\Microsoft.Cpp.targets");
if (tool.SingleProjects.at(0).Configuration.WinPhone)