{ "tasks": [ { "type": "cppbuild", "label": "C/C++: g++ build project", "command": "/usr/bin/g++", "args": [ "*.cpp", "-Wall", "-Wextra", "-pedantic", "-fsanitize=address", "-std=c++1z", "-fdiagnostics-color=always", "-g", "-lSDL2", "-o", "./chess" ], "options": { "cwd": "${fileDirname}" }, "problemMatcher": [ "$gcc" ], "group": { "kind": "build", "isDefault": true }, "detail": "Task generated by Debugger." }, { "type": "cppbuild", "label": "C/C++: mingw build project", "command": "/usr/bin/x86_64-w64-mingw32-g++", "args": [ "-std=gnu++17", "-g", "-static-libstdc++", "-static-libgcc", "-o", "./chess.exe", "*.cpp", "-ISDL2/include/", "-LSDL2/lib/", "-lmingw32", "-lSDL2main", "-lSDL2" ], "options": { "cwd": "${fileDirname}" }, "problemMatcher": [ "$gcc" ], "group": { "kind": "build", "isDefault": false }, "detail": "" } ], "version": "2.0.0" }