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:
parent
48ba0389ee
commit
7c8ef213b5
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user