VS11: Rename 'Immersive' to 'WindowsAppContainer' (#12930)

Since commit 9e01aefd (VS: Add support for WinRT project properties,
2012-02-03) CMake generates for VS 11 projects the 'Immersive' element
for the VS_WINRT_EXTENSIONS target property.  That was based on the VS
11 preview version.  The final version renamed the element to
'WindowsAppContainer', so generate that instead.

Suggested-by: Eugene Golushkov <eugene_gff@ukr.net>
This commit is contained in:
Brad King 2012-08-21 12:06:35 -04:00
parent d17c58c853
commit 4c9ae472ec
1 changed files with 2 additions and 1 deletions

View File

@ -413,7 +413,8 @@ void cmVisualStudio10TargetGenerator::WriteProjectConfigurationValues()
}
if(this->Target->GetPropertyAsBool("VS_WINRT_EXTENSIONS"))
{
this->WriteString("<Immersive>true</Immersive>\n", 2);
this->WriteString("<WindowsAppContainer>true"
"</WindowsAppContainer>\n", 2);
}
this->WriteString("</PropertyGroup>\n", 1);
}