[CMake] Fwd: Expected behaviour for Tests/VSWinStorePhone

Pierre Wilmot gheaeckkseqrz at gmail.com
Wed Sep 9 03:49:08 EDT 2015



Hi everyone,

I’m trying to generate a Windows Phone 8.1 project from CMake, I was expecting the Tests/VSWinStorePhone folder to be a good template to start with, but I’m a bit confused with the result I get.

I was expecting to get pretty much the same result as a project created with the Visual studio “DirectX and XAML App (Windows Phone)”. That means a project displaying cubes that I could just run on my Windows Phone device by pressing run on device.

Instead I’m getting a project with no ARM configuration, only Win32 which is surprising, because as far as I know, there only ARM device available on the market.
If I build the project, I get an exe throwing an error on launch 

“This application can only run in the context of an app container”. (started from exe)
OR
“In order to debug this project, you must consume it from an application project that creates a package and is marked as the Startup Project” (started from Visual Studio)

As the Project name is “VSWinStorePhone”, I was expecting the created solution to be ready for Windows Phone deployment, but it’s not.

Is that the expected behaviour ? 
If so, where can I find a good CMakeList template to create a Windows Phone 8.1 app ?

Setup Info:

Running on Windows 8 x64
With Visual Studio Professional 2013 Version 12.0.31101.00 Update 4
Used cmake 3.3.1-win32-x86
With the file of Tests/VSWinStorePhone from the current github master branch 

Ran command from Desktop/CMAKEOUT : 
..\cmake-3.3.1-win32-x86\bin\cmake.exe ..\Cmake-master\Test\VSWinStrorePhone

Best regards,
Pierre

> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150909/c191554c/attachment.html>


More information about the CMake mailing list