<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle19
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi Adam, Nagy-Egri<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’ve written most of the code to support Windows Universal Apps and would be happy to help you get this working. We have some very prominent customers who are using this functionality to publish their apps and games to the Windows Store.
The support is not a pilot project and we try to address the issues that people are facing when something is not fully supported.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The first example to look at would be in Tests\VSWinStorePhone, this is the validation project that builds a Windows project that can be targeted to the Windows Store. It has examples of content files, shaders, manifest, resources, tool
overrides.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">If you have questions, I’m here to help.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Gilles Khouzam<o:p></o:p></p>
<p class="MsoNormal">Engineering Lead<o:p></o:p></p>
<p class="MsoNormal"><span lang="FR-CA">Microsoft Windows<o:p></o:p></span></p>
<p class="MsoNormal"><a href="mailto:gilles.khouzam@microsoft.com"><span lang="FR-CA">gilles.khouzam@microsoft.com</span></a><span lang="FR-CA"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> CMake [mailto:cmake-bounces@cmake.org] <b>On Behalf Of
</b>Nagy-Egri Máté Ferenc via CMake<br>
<b>Sent:</b> Tuesday, August 2, 2016 01:17<br>
<b>To:</b> cmake@cmake.org<br>
<b>Subject:</b> Re: [CMake] [Visual Studio] Universal Windows Platform projects<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="HU">I would also very much like to see a tutorial on this. There are just too darn many options to set for me to believe CMake could ever get the job done. Release notes for Publishing to the store, age rating for my app, can
it correctly set source types to be DX resources, DX shaders, etc… there are too many things I have not even heard about relating to CMake.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="HU"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="HU">I have a feeling that the WindowsStore CMAKE_SYSTEM_NAME started out as a pilot project but then did not wish to keep up with the evolution of the Microsoft ecosystem. It’s a shame really, because I really did want to prove
to collegues of mine, that the MVVM model employed by the canonical design pattern of Windows Store apps has a 1-to-1 mapping in the Qt ecosystem.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="HU"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="HU">XAML >> QML<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="HU">events-delegates >> signal-slot<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="HU"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="HU">The best choice of a build generator would be CMake. However, not having met all the neccessary components, VS project files with the Qt Add-In currently seem to be a better choice.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="HU"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="HU">The foundations are very-very similar and I wanted to build a simple application that relies on Qt for the Linux build and pure WinRT for the Windows build. Also, I would also be very much interested in additions to CMake
where CTest could take care of Pester tests for PowerShell scripts and as such is able to test PS scripts I wrote which load C++/CX Assemblies. (For those who do not know of C++/CX, it is managed C++, a language extension that can act as a mediator between
native C++ and all the .NET family of languages. One may wrap FFTW with managed C++ and load the compiled library (referred to as Assemblies) from C#, F# or PowerShell even and consume it. The ABI of the .NET languages are stable and interoperable.)
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="HU"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="HU"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="HU">If someone has a working prototype of CMake compiling a simple UWP Store app that could actually be published… do not hesitate to share!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="HU"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="HU"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="HU" style="font-size:12.0pt;font-family:"Times New Roman",serif"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span lang="HU">Feladó: </span></b><span lang="HU"><a href="mailto:arankin@robarts.ca">Adam Rankin</a><br>
<b>Elküldve: </b>2016. július 6., szerda 16:42<br>
<b>Címzett: </b><a href="mailto:cmake@cmake.org">cmake@cmake.org</a><br>
<b>Tárgy: </b>[CMake] [Visual Studio] Universal Windows Platform projects<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="HU" style="font-size:12.0pt;font-family:"Times New Roman",serif"><o:p> </o:p></span></p>
<p class="MsoNormal">Hello all,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’ve been trying to identify the correct variables to set to create a UWP project using VS2015, and the projects generated are missing a few critical tags.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m using CMAKE_SYSTEM_NAME=WindowsStore and CMAKE_SYSTEM_VERSION=10.0. This correctly identifies and sets the target platform tag, but does not set the following ‘Globals’ Properties in the PropertyGroup of the .vcxproj file<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">AppContainerApplication</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">true</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">AppContainerApplication</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">ApplicationType</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">Windows
Store</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">ApplicationType</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">WindowsTargetPlatformMinVersion</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">10.0.10240.0</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">WindowsTargetPlatformMinVersion</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">ApplicationTypeRevision</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">10.0</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">ApplicationTypeRevision</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:blue"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Has anyone successfully created a UWP project using CMake?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Regards,<o:p></o:p></p>
<p class="MsoNormal">Adam<o:p></o:p></p>
<p class="MsoNormal"><span lang="HU"><o:p> </o:p></span></p>
</div>
</body>
</html>