{ "version": "2.0.0", "tasks": [ { "type": "cppbuild", "label": "Build raycaster", "command": "/usr/bin/clang", "args": [ "-g", "${workspaceFolder}/raycaster.c", "-o", "${workspaceFolder}/raycaster", "-framework", "OpenGL", "-framework", "GLUT", "-Wno-deprecated-declarations" ], "options": { "cwd": "${workspaceFolder}" }, "problemMatcher": [ "$gcc" ], "group": "build", "detail": "Builds raycaster.c explicitly" }, { "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" } ] }