View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015686CMakeCMakepublic2015-08-06 10:232016-03-07 09:12
ReporterD.E. Goodman-Wilson 
Assigned ToGilles Khouzam 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionfixed 
PlatformWindows PhoneOSWindowsOS Version10
Product VersionCMake 3.3 
Target VersionCMake 3.4Fixed in VersionCMake 3.4 
Summary0015686: Windows phone projects targeting Windows 10 differ from Windows Phone 8.1 projects
DescriptionBasically, some fields in the .vcxproj need to change, and some new ones added (related, but only part of the way there: https://public.kitware.com/Bug/view.php?id=15670 [^]).

Here is a link to an MSDN article detailing the differences between a Windows Phone 8.1 and Windows Universal 10 project file; it explains how the various fields in the XML file have evolved, and the specific steps that must be take to manually migrate a project.

https://msdn.microsoft.com/en-us/library/Mt148501.aspx#MigrateCPlusPlus [^]
Steps To ReproduceBuild a project targeting Windows Phone 8.1, using the Visual Studio 2015 generator and the following CMake directives:

set(CMAKE_SYSTEM_NAME "WindowsPhone")
set(CMAKE_SYSTEM_VERSION "8.1")
TagsNo tags attached.
Attached Files

 Relationships
related to 0015662closedGilles Khouzam Add support for Windows/Windows Phone SDKs with Visual Studio 2015 
related to 0015670closedGilles Khouzam Add support for setting "Windows target platform version" in VS2015 

  Notes
(0039245)
D.E. Goodman-Wilson (reporter)
2015-08-06 10:26

THere is one additional change to the project not covered by the article, namely the names of the system libraries to link against:

change the deps from:
- <AdditionalDependencies>WindowsPhoneCore.lib;RuntimeObject.lib;PhoneAppModelHost.lib</AdditionalDependencies>

to:
+ <AdditionalDependencies>WindowsApp.lib;%(AdditionalDependencies)</AdditionalDependencies>

Notice as well that this same applies to Windows 8.1 Desktop and Universal apps—In projects targeting Windows 10, there are _only_ Universal Apps
(0039510)
Brad King (manager)
2015-10-05 13:29

The changes contributed in this thread:

 [Patch] Adding Windows 10 Universal app support
 http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/14201/focus=14626 [^]

should address this issue.
(0040601)
Robert Maynard (manager)
2016-03-07 09:12

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2015-08-06 10:23 D.E. Goodman-Wilson New Issue
2015-08-06 10:26 D.E. Goodman-Wilson Note Added: 0039245
2015-08-06 10:53 Brad King Assigned To => Gilles Khouzam
2015-08-06 10:53 Brad King Status new => assigned
2015-08-06 10:53 Brad King Relationship added related to 0015662
2015-08-06 11:17 Brad King Relationship added related to 0015670
2015-10-05 13:29 Brad King Note Added: 0039510
2015-10-05 13:29 Brad King Status assigned => resolved
2015-10-05 13:29 Brad King Resolution open => fixed
2015-10-05 13:29 Brad King Fixed in Version => CMake 3.4
2015-10-05 13:29 Brad King Target Version => CMake 3.4
2016-03-07 09:12 Robert Maynard Note Added: 0040601
2016-03-07 09:12 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team