You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
450 B
JSON
24 lines
450 B
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"type": "shell",
|
|
"label": "C/C++: gcc build active file + SLD2",
|
|
"command": "/usr/bin/gcc",
|
|
"args": [
|
|
"-g",
|
|
"${file}",
|
|
"-o",
|
|
"${fileDirname}/${fileBasenameNoExtension}",
|
|
"-lSDL2",
|
|
"-lSDL2main"
|
|
],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": ["$gcc"],
|
|
"group": "build"
|
|
}
|
|
]
|
|
}
|