mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
904a51f8e5
* [cppwinrt] rewrote port to leverage cppwinrt.exe tool from nuget.org * Reformat * Update baseline * Update ports/cppwinrt/portfile.cmake Co-authored-by: Robert Schumacher <roschuma@microsoft.com> * Update ports/cppwinrt/CMakeLists.txt.in Co-authored-by: Robert Schumacher <roschuma@microsoft.com> * Update ports/cppwinrt/portfile.cmake Co-authored-by: Robert Schumacher <roschuma@microsoft.com> * Update ports/cppwinrt/portfile.cmake Co-authored-by: Robert Schumacher <roschuma@microsoft.com> * Update ports/cppwinrt/CMakeLists.txt.in Co-authored-by: Robert Schumacher <roschuma@microsoft.com> * Update ports/cppwinrt/CMakeLists.txt.in Co-authored-by: Robert Schumacher <roschuma@microsoft.com> * Update ports/cppwinrt/CppWinRT-config.cmake.in Co-authored-by: Robert Schumacher <roschuma@microsoft.com> * Simplifed CMakeLists.txt * Update baseline * Fix build break * Update baseline * Still need SDK version scanning fallback for ADO pipelines * Refresh baseline * Additional code review * Update baseline * Don't need a config-version file for a VCPKG only CMake * Baseline update * [cppwinrt] Simplify port * Update ports/cppwinrt/vcpkg.json Co-authored-by: LilyWangLL <94091114+LilyWangLL@users.noreply.github.com> * Update baseline Co-authored-by: Robert Schumacher <roschuma@microsoft.com> Co-authored-by: LilyWangLL <94091114+LilyWangLL@users.noreply.github.com>
5 lines
141 B
Plaintext
5 lines
141 B
Plaintext
cppwinrt provides CMake targets:
|
|
|
|
find_package(cppwinrt CONFIG REQUIRED)
|
|
target_link_libraries(main PRIVATE Microsoft::CppWinRT)
|