helloWorldWithVSTGUI cannot be opened

You have to use the cmake generator for your version of Visual Studio:

cmake -G"Visual Studio 17 2019 Win64"