Commit Graph

2 Commits

Author SHA1 Message Date
Nathan White 8e6be0084f
[cppwinrt] Guard `add_library` to avoid "another target with the same name already exists" CMake error (#49767)
Co-authored-by: Kai Pastor <dg0yt@darc.de>
2026-04-30 17:14:38 -07:00
Chuck Walbourn 3a7cb341b8
[cppwinrt] Update port for January 2024 release (#37452)
This updates the cppwinrt port to use the latest
Microsoft.Windows.CppWinRT package from NuGet. Includes clean up of the
portfile for modern best practices.

This also cleans up the cmake integration:

* Uses `cppwinrt_FOUND` instead of the nonstandard `CppWinRT_FOUND`
* Provides `CPPWINRT_TOOL` for being able to generate C++/WinRT headers
from .winmd files as custom commands
2024-03-14 12:27:37 -07:00