<html 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:0cm;
        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;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang=HU link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>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.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>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.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>XAML >> QML</p><p class=MsoNormal>events-delegates >> signal-slot</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>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.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>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.) </p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>If someone has a working prototype of CMake compiling a simple UWP Store app that could actually be published… do not hesitate to share!</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif'><o:p> </o:p></span></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='border:none;padding:0cm'><b>Feladó: </b><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</p></div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Hello all,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>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></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>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></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white'><</span><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white'>AppContainerApplication</span><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white'>></span><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'>true</span><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white'></</span><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white'>AppContainerApplication</span><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white'>></span><span lang=EN-US 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 lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white'><</span><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white'>ApplicationType</span><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white'>></span><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'>Windows Store</span><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white'></</span><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white'>ApplicationType</span><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white'>></span><span lang=EN-US 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 lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white'><</span><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white'>WindowsTargetPlatformMinVersion</span><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white'>></span><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'>10.0.10240.0</span><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white'></</span><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white'>WindowsTargetPlatformMinVersion</span><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white'>></span><span lang=EN-US 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 lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white'><</span><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white'>ApplicationTypeRevision</span><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white'>></span><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'>10.0</span><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white'></</span><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white'>ApplicationTypeRevision</span><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white'>></span><span lang=EN-US style='font-size:9.5pt;font-family:Consolas;color:blue'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Has anyone successfully created a UWP project using CMake?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Regards,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Adam<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>