vcpkg/ports/cppwinrt/usage
Chuck Walbourn 904a51f8e5
[cppwinrt] port rewrite to use cppwint.exe tool from NuGet Gallery (#24967)
* [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>
2022-06-06 13:00:03 -07:00

5 lines
141 B
Plaintext

cppwinrt provides CMake targets:
find_package(cppwinrt CONFIG REQUIRED)
target_link_libraries(main PRIVATE Microsoft::CppWinRT)