Merge topic 'vs-windows-store-default-language'
500794b0
VS: Set default language in generated Windows Phone and Store projects4c5574a1
VS: Add missing newlines to .vcxproj generation
This commit is contained in:
commit
e62e04f3bb
|
@ -2762,6 +2762,8 @@ void cmVisualStudio10TargetGenerator::WriteApplicationTypeSettings()
|
||||||
this->WriteString("<ApplicationTypeRevision>", 2);
|
this->WriteString("<ApplicationTypeRevision>", 2);
|
||||||
(*this->BuildFileStream) << cmVS10EscapeXML(v)
|
(*this->BuildFileStream) << cmVS10EscapeXML(v)
|
||||||
<< "</ApplicationTypeRevision>\n";
|
<< "</ApplicationTypeRevision>\n";
|
||||||
|
this->WriteString("<DefaultLanguage>en-US"
|
||||||
|
"</DefaultLanguage>\n", 2);
|
||||||
if(v == "8.1")
|
if(v == "8.1")
|
||||||
{
|
{
|
||||||
// Visual Studio 12.0 is necessary for building 8.1 apps
|
// Visual Studio 12.0 is necessary for building 8.1 apps
|
||||||
|
@ -2796,12 +2798,12 @@ void cmVisualStudio10TargetGenerator::WriteApplicationTypeSettings()
|
||||||
if(isAppContainer)
|
if(isAppContainer)
|
||||||
{
|
{
|
||||||
this->WriteString("<AppContainerApplication>true"
|
this->WriteString("<AppContainerApplication>true"
|
||||||
"</AppContainerApplication>", 2);
|
"</AppContainerApplication>\n", 2);
|
||||||
}
|
}
|
||||||
else if (this->Platform == "ARM")
|
else if (this->Platform == "ARM")
|
||||||
{
|
{
|
||||||
this->WriteString("<WindowsSDKDesktopARMSupport>true"
|
this->WriteString("<WindowsSDKDesktopARMSupport>true"
|
||||||
"</WindowsSDKDesktopARMSupport>", 2);
|
"</WindowsSDKDesktopARMSupport>\n", 2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue