32 lines
650 B
JSON
32 lines
650 B
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"type": "cppbuild",
|
|
"label": "C/C++: clang build active file",
|
|
"command": "/usr/bin/clang",
|
|
"args": [
|
|
"-g",
|
|
"${file}",
|
|
"-o",
|
|
"${fileDirname}/${fileBasenameNoExtension}",
|
|
"-framework",
|
|
"OpenGL",
|
|
"-framework",
|
|
"GLUT",
|
|
"-Wno-deprecated-declarations"
|
|
],
|
|
"options": {
|
|
"cwd": "${fileDirname}"
|
|
},
|
|
"problemMatcher": [
|
|
"$gcc"
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"detail": "Compiler task for OpenGL/GLUT on macOS"
|
|
}
|
|
]
|
|
} |