vcpkg/ports/cppwinrt/usage

7 lines
254 B
Plaintext
Raw Normal View History

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.