<div dir="ltr"><br><div class="gmail_quote"><div dir="ltr">Hi cmake developers and users,<br>This is a extend discussion of this ticket: <a href="http://www.cmake.org/Bug/view.php?id=13511" target="_blank">http://www.cmake.org/Bug/view.php?id=13511</a>.<br clear="all">
<div><br><div>In our project, we need to build an Win8+ Metro app. Currently the 
CMake do support VS_WINRT_EXTENSIONS. However, if you want to build an 
exe instead of dll or lib, even with x86 or x64, it always fails because
 lacking of some tags in vcxproj and sln.<br>
</div><div><br></div>So I made this patch for WinRT/Metro apps, based on the master branch of CMake. In this patch, 
<div><br></div><div>1. WinRT-ARM, WinRT-x86, WinRT-x64 generators are added for generating WinRT special projects. CMAKE_VS_WINRT_VERSION is defined inside.<br></div><div><div>2. Add AppContainerApplication, 
ApplicationType, MinimumVisualStudioVersion and ApplicationTypeRevision 
tags to vcxproj in WinRT project.</div><div>3. Recognize AppxManifest file type.</div>
<div>4. A dedicated boolean source file property "VS_WINRT_CONTENT" is added. Generator expressions is also supported here.</div><div>5. Add "Deploy.0" in .sln for deploy WinRT apps by default, as WinCE apps do.</div>


<div>6. Add PackageCertificateKeyFile tag to vcxproj for package certification.<br><br></div><div>Thanks for advices from Martell Malone, Daniel Pfeifer, Brad King, Patrick R. Gansterer, and other developers and users of CMake. More comments are welcomed.<span class="HOEnZb"><font color="#888888"><br>

</font></span></div></div><span class="HOEnZb"><font color="#888888"></font></span><br clear="all"></div></div></div>-- <br>Minmin Gong
</div>