title: unable to determine what cmake generator to use-VS Code-Windows 10
body: <p>while compiling cpp files in vs code in windows 10 PC, after giving &quot;cmake:debug&quot; I get error like this &quot;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&quot;
  how to solve the error</p>