MantisBT - CMake | ||||||||||||||||||||
View Issue Details | ||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||||||||||
0013498 | CMake | CMake | public | 2012-08-30 11:50 | 2013-05-06 09:32 | |||||||||||||||
Reporter | Angin3 | |||||||||||||||||||
Assigned To | ||||||||||||||||||||
Priority | normal | Severity | feature | Reproducibility | always | |||||||||||||||
Status | closed | Resolution | duplicate | |||||||||||||||||
Platform | OS | OS Version | ||||||||||||||||||
Product Version | CMake 2.8.9 | |||||||||||||||||||
Target Version | Fixed in Version | |||||||||||||||||||
Summary | 0013498: CMake does not fully support Visual Studio 11 WinRT project type | |||||||||||||||||||
Description | CMake currently does not fully support setting project type as needed to develop WinRT applications for Windows 8 with the Visual Studio 11 generator. A lot of work was done here : http://www.cmake.org/Bug/view.php?id=12930 [^] But that is not enought. VS_WINRT_EXTENSIONS add <WindowsAppContainer>true</WindowsAppContainer> tag to <PropertyGroup> tag witch have specific "Condition". Example output : <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <PlatformToolset>v110</PlatformToolset> <WindowsAppContainer>true</WindowsAppContainer> </PropertyGroup> Because of that we are able to compile windows runtime code and generate .exe code. But the next step after compilation is to deploy app and try to debug. We need <AppContainerApplication>true</AppContainerApplication> tag to obtain that feature on. That will be in <PropertyGroup Label="Globals"> tag. Example : <PropertyGroup Label="Globals"> <ProjectGuid>{93441f5d-57bf-4021-a2e3-973fac0ac3c4}</ProjectGuid> <RootNamespace>Direct3DApp1</RootNamespace> <DefaultLanguage>en-US</DefaultLanguage> <MinimumVisualStudioVersion>11.0</MinimumVisualStudioVersion> <AppContainerApplication>true</AppContainerApplication> </PropertyGroup> (source from Visual Studio Professional 2012 Direct3DApp sample ) Generaly using <AppContainerApplication> instead of <WindowsAppContainer> will make whole process more easly. <AppContainerApplication> in "Globals" label override all "Configuration" labels and make it possible to deploy and debug WinRT app. Additionally <AppContainerApplication> make "Windows Store App Support" to grey and hardcode "Yes" statement. Pure Visual Studio 2012 WinRT sample app use only <AppContainerApplication> tag. | |||||||||||||||||||
Steps To Reproduce | ||||||||||||||||||||
Additional Information | ||||||||||||||||||||
Tags | No tags attached. | |||||||||||||||||||
Relationships |
| |||||||||||||||||||
Attached Files | ||||||||||||||||||||
Issue History | ||||||||||||||||||||
Date Modified | Username | Field | Change | |||||||||||||||||
2012-08-30 11:50 | Angin3 | New Issue | ||||||||||||||||||
2012-08-30 13:03 | Brad King | Relationship added | related to 0012930 | |||||||||||||||||
2012-08-30 13:04 | Brad King | Status | new => backlog | |||||||||||||||||
2012-08-31 04:22 | Eugene Golushkov | Note Added: 0030805 | ||||||||||||||||||
2012-09-05 07:17 | Eugene Golushkov | Note Deleted: 0030805 | ||||||||||||||||||
2012-11-28 08:34 | Brad King | Relationship added | related to 0013749 | |||||||||||||||||
2012-11-28 08:36 | Brad King | Relationship added | related to 0013511 | |||||||||||||||||
2012-11-28 08:42 | Brad King | Note Added: 0031738 | ||||||||||||||||||
2012-12-18 07:59 | Brad King | Relationship replaced | duplicate of 0013511 | |||||||||||||||||
2012-12-18 08:00 | Brad King | Note Added: 0031915 | ||||||||||||||||||
2012-12-18 08:00 | Brad King | Status | backlog => resolved | |||||||||||||||||
2012-12-18 08:00 | Brad King | Resolution | open => duplicate | |||||||||||||||||
2013-05-06 09:32 | Robert Maynard | Note Added: 0032988 | ||||||||||||||||||
2013-05-06 09:32 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|