A nuget package is available for WinRT: huycn.zxingcpp.winrt. To install it, run the following command in the Package Manager Console
PM> Install-Package huycn.zxingcpp.winrt
- Make sure CMake version 3.4 or newer is installed.
- Make sure a C++17 compliant compiler is installed (minimum VS 2019 16.8).
- Edit the file
BuildWinCom.bat
to adjust the path to your CMake installation. - Double-click on the batch script to run it.
- If the build succeeds, it will put the results in the folder UAP which is ready-to-use SDK extension.