Skip to content

[WinAppSDK CMake Support]: Metapackage samples and consumption model refinements #636

Open
ssparach wants to merge 2 commits into
release/2.0-experimentalfrom
user/ssparach/CMakeModifications
Open

[WinAppSDK CMake Support]: Metapackage samples and consumption model refinements #636
ssparach wants to merge 2 commits into
release/2.0-experimentalfrom
user/ssparach/CMakeModifications

Conversation

@ssparach

@ssparach ssparach commented May 19, 2026

Copy link
Copy Markdown

Description

Please include a summary of the change and/or which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Summary

This PR introduces improvements to the WindowsAppSDK CMake experience, focusing on simplifying consumption and aligning with the updated embedded CMake model.

Changes

Metapackage samples across deployment modes

  • Adds samples for all four deployment modes.
  • Enables consuming the metapackage directly via find_package, removing the need to manually reference individual components.

Refined embedded CMake model adoption

  • Removes the need for explicit _Framework and _SelfContained targets.
  • Introduces the WindowsAppSDKSelfContained property to control deployment behavior.

Post-build helper integration

  • Consumes new WindowsAppSDK post-build helpers.
    Provides utilities such as validating AppX manifest generation was called etc.

Draft PR: dependent on upstream changes
This PR should only be merged once the dependent changes it consumes have been fully shipped.

Target Release

Please specify which release this PR should align with. e.g., 1.0, 1.1, 1.1 Preview 1.

Checklist

Note that /azp run currently isn't working for this repo.

@ssparach ssparach marked this pull request as ready for review June 5, 2026 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants