Merge topic 'vs-windows-store-default-language'

500794b0 VS: Set default language in generated Windows Phone and Store projects
4c5574a1 VS: Add missing newlines to .vcxproj generation
This commit is contained in:
Brad King 2015-01-30 10:23:03 -05:00 committed by CMake Topic Stage
commit e62e04f3bb
1 changed files with 4 additions and 2 deletions

View File

@ -2762,6 +2762,8 @@ void cmVisualStudio10TargetGenerator::WriteApplicationTypeSettings()
this->WriteString("<ApplicationTypeRevision>", 2);
(*this->BuildFileStream) << cmVS10EscapeXML(v)
<< "</ApplicationTypeRevision>\n";
this->WriteString("<DefaultLanguage>en-US"
"</DefaultLanguage>\n", 2);
if(v == "8.1")
{
// Visual Studio 12.0 is necessary for building 8.1 apps
@ -2796,12 +2798,12 @@ void cmVisualStudio10TargetGenerator::WriteApplicationTypeSettings()
if(isAppContainer)
{
this->WriteString("<AppContainerApplication>true"
"</AppContainerApplication>", 2);
"</AppContainerApplication>\n", 2);
}
else if (this->Platform == "ARM")
{
this->WriteString("<WindowsSDKDesktopARMSupport>true"
"</WindowsSDKDesktopARMSupport>", 2);
"</WindowsSDKDesktopARMSupport>\n", 2);
}
}