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

> 

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to