Re: [cmake-developers] Generating Windows Phone project files
On Tue, Feb 3, 2015 at 4:56 PM, thefox xofeht the...@aspekt.fi wrote: I was trying to generate project files for Windows Phone 8, but hit a snag right away: Well, as always, it helps to make a post like this since I realized now what the problem was. I had ran cmake .. -G Visual Studio 12 2013 -DCMAKE_SYSTEM_NAME=WindowsPhone -DCMAKE_SYSTEM_VERSION=8.0 in the same directory unsuccessfully, and that was affecting my later runs with CMAKE_SYSTEM_VERSION=8.1. Sorry for the noise. -K -- 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-developers
[cmake-developers] Generating Windows Phone project files
Hi, I was trying to generate project files for Windows Phone 8, but hit a snag right away: cmake .. -G Visual Studio 12 2013 -DCMAKE_SYSTEM_NAME=WindowsPhone -DCMAKE_SYSTEM_VERSION=8.1 CMake Error at CMakeLists.txt:5 (project): A Windows Phone component with CMake requires both the Windows Desktop SDK as well as the Windows Phone '8.0' SDK. Please make sure that you have both installed I'm able to compile a project generated from a Windows Phone 8.0 DirectX App template, so I believe I should have all the necessary SDKs. I looked around in the CMake code for a bit, and noticed that it's looking for the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\WindowsPhone\v8.0. I don't have that. I do have HKEY_CURRENT_USER\Software\Microsoft\Microsoft SDKs\WindowsPhone\v8.0, though. And both v8.0 and v8.1 directories are visible in the directory C:\Program Files (x86)\Microsoft SDKs\Windows Phone. Using Windows 8.1, cmake version 3.1.20150114-gdb5583, Visual Studio 2013. Any ideas? -K -- 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-developers