How to attach Nuget package.config file for cmake project

Hi,

I’m working on CPP WinUI3 desktop application with cmake. By default WinUI3 project uses MSBuild. We made the project use cmake with the help of this sample project. ref - GitHub - fredemmott/cmake-cpp-winrt-winui3: Archived experiment - see https://github.com/openkneeboard/openkneeboard for a real world example (use this project as reference)

WinUI3 uses NuGet packages, and it has a corresponding file called package.manifest which looks like this

I’m trying to attach this file to my cmake WinUI3 project. I did not find any way to attach this file to my project with cmake.

How to add this file to the cmake project?

Thank you.

I suspect that VS_USER_PROPS would be the way to do this.