I have installed VS Code under Windows 10 to compile C++ code for Raspberry Pi Pico. When I try to build the pico examples VS complains "Unable to determine what CMake generator to use. Please install or configure a preferred generator, or update settings.json, your Kit configuration or PATH variable."
I have installed CMake and CMake Tools in the IDE. What is a CMake generator, why do I need one and how do I install it in VS Code? The only documentation I can find seems to lead down a rabbit hole of more things I don't understand like Toolchain, MSYS2, MinGW and so on.