Sample project showing how to use WinUI 3 with CMake and C++ without depending on XAML or MIDL. The project relies on the C++/WinRT projections of the Windows APIs. This example shows the usage of some basic controls (StackPanel, Button, TextBlock), event handling and animations.
The project is built through CMake and should work with any modern C++ compiler, but I've only tested this with MSVC. This project is configured for C++23, but the minimum requirement is C++17 for C++/WinRT.
$ cmake -B build -S .
$ cmake --build build
