I'm using vscode with cmake for debug on a windows system, but task.json executes to the cmake command with this error:
`Executing task: D:\Cmake\bin\cmake.exe .. -G 'MinGW Makefiles'
CMake Error: Could not create named generator 'MinGW Makefiles'`
Here is the command for cmake in my task.json file:
"options": {
"cwd": "${workspaceFolder}/build/"
},
"label": "cmake",
"type": "process",
"command": "cmake",
"args": [
"..",
"-G 'MinGW Makefiles'"
]
How exactly should I write the args -G MinGW Makefiles?