[cmake-developers] [Patch] Adding Windows 10 Universal app support

Gilles Khouzam Gilles.Khouzam at microsoft.com
Fri Oct 2 15:07:22 EDT 2015


This patch adds Windows Universal (store) app support. Just like Windows 8.0 and Windows 8.1, this will
allow to produce a Windows 10 Store application (there are no more Phone apps as they are the same now).

>From the commit message:
This change adds support for Windows 10 Universal (Store) Applications.

A Windows 10 Universal Application can be targeted by setting:
CMAKE_SYSTEM_NAME=WindowsStore and CMAKE_SYSTEM_VERSION=10.0
There are no WindowsPhone apps, universal apps target both phone and store.
Specifying the CMAKE_SYSTEM_VERSION to be 10.0 will use the latest Windows
10 SDK installed. If you want to specify a specific SDK, you can make
CMAKE_SYSTEM_VERSION be more specific (10.0.10240.0 for RTM for example).


New Properties Added:
VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION: Target Property.
Specifies the minimum version of the OS that the project can target.

VS_DESKTOP_EXTENSIONS_VERSION, VS_MOBILE_EXTENSIONS_VERSIONS,
VS_IOT_EXTENSIONS_VERSION: Target property. When specifying these properties
a reference to the version of the SDK specified will be added to the
target allowing to target the extended functionality in a universal project.
To match the version of the SDK being used, use
CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION

VS_IOT_STARTUP_TASK: Target property. Specifies that the target should be
built as an IOT continuous background task.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20151002/1c1c4f63/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Windows-10-Universal-Store-Apps.patch
Type: application/octet-stream
Size: 35006 bytes
Desc: 0001-Windows-10-Universal-Store-Apps.patch
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20151002/1c1c4f63/attachment-0001.obj>


More information about the cmake-developers mailing list