Add support for Windows packaged desktop apps
With ProjectReunion Windows App SDK, native applications can be packaged as part of a dedicated packaging project in Visual Studio, which uses a wapproj
file type. The output is an MSIX, which can then be launched via Visual Studio for debugging (the launch does a silent install of the MSIX, and then launches the debugger on the actual executable).
I'd like to suggest adding support for the new packaging project type, for the Visual Studio Generator. Perhaps add_executable(<target_name> ...)
could have a WIN32_PACKAGE
parameter? The project directory only contains image resources, an .appxmanifest
, and the .wapproj
project file.
The app project itself isn't a normal "native" app project. It's a "Desktop" packaged app (note this is different to a "UWP" packaged app). In order to support this new project type, it seems there's an additional value inside a vcxproj:
<AppxPackage>false</AppxPackage>
<ApplicationType>Windows Store</ApplicationType>
<ApplicationTypeRevision>10.0</ApplicationTypeRevision>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
<WindowsTargetPlatformMinVersion>10.0.17763.0</WindowsTargetPlatformMinVersion>
So it's somewhat similar to the current implementation of CMAKE_SYSTEM_NAME=WindowsStore
, except it adds the <AppxPackage>false</AppxPackage>
element, to indicate it's not a UWP project.