{ "version": "2.0.0", "tasks": [ { "label": "make", "type": "shell", "command": "C:/msys64/usr/bin/make.exe", "options": { "cwd": "${fileDirname}", "env": { "PATH": "C:/msys64/mingw64/bin;${env:PATH}" }, }, "problemMatcher": ["$gcc"], "group": { "kind": "build", "isDefault": true }, }, { "label": "build C file", "type": "shell", "command": "gcc", "args": [ "-g", "${fileBasename}", "-o", "${fileBasenameNoExtension}.exe" ], "options": { "cwd": "${fileDirname}" }, "group": { "kind": "build", "isDefault": false }, "problemMatcher": [ "$gcc" ] }, { "type": "cppbuild", "label": "C/C++: gcc.exe build active file", "command": "C:\\msys64\\mingw64\\bin\\gcc.exe", "args": [ "-fdiagnostics-color=always", "-g", "${file}", "-o", "${fileDirname}\\${fileBasenameNoExtension}.exe" ], "options": { "cwd": "${fileDirname}" }, "problemMatcher": [ "$gcc" ], "group": { "kind": "build", "isDefault": false }, "detail": "Task generated by Debugger." } ] }