Generating Visual Studio Solution for Libtorch, using CMake

I’m trying to generate a visual studio solution for the libtorch sources, using CMake.
Having lots of issues, and I can’t find any example of someone doing that.
If there is some step-by-step guide - which programs to install, the cmake command. etc - it would be VERY helpful.

Appreciate your help,