C++/WinRT is a standard C++ language projection for the Windows Runtime.
Run the following Vcpkg command to install the port.
vcpkg install cppwinrt
The C++/WinRT package provides CMake targets:
find_package(cppwinrt CONFIG REQUIRED) target_link_libraries(main PRIVATE Microsoft::CppWinRT)
The CMake variable CPPWINRT_TOOL is also set to point to the .winmd to header command-line tool.
v2.0.250303.1#0
Jun 9, 2025
windows
github.com/microsoft/cppwinrt
docs.microsoft.com/windows/uwp/cpp-and-winrt-apis
93779cf036
MIT
Manifest