2022-07-17 08:54:21 +00:00
|
|
|
{
|
|
|
|
"tasks": [
|
|
|
|
{
|
|
|
|
"type": "cppbuild",
|
|
|
|
"label": "C/C++: g++.exe сборка активного файла",
|
|
|
|
"command": "C:/MinGW/bin/g++.exe",
|
|
|
|
"args": [
|
|
|
|
"-fdiagnostics-color=always",
|
|
|
|
"${workspaceRoot}/src/*.cpp",
|
|
|
|
"${workspaceRoot}/../dependencies/glad/src/glad.c",
|
|
|
|
|
|
|
|
"-I${workspaceRoot}/include",
|
|
|
|
|
|
|
|
"--std=c++11",
|
|
|
|
|
|
|
|
"-I${workspaceRoot}/../dependencies/GLFW/include",
|
|
|
|
"-L${workspaceRoot}/../dependencies/GLFW/lib-mingw",
|
|
|
|
"-I${workspaceFolder}/../dependencies/glad/include",
|
|
|
|
"-static",
|
|
|
|
"-lopengl32",
|
|
|
|
"-lglfw3dll",
|
|
|
|
"-o",
|
|
|
|
"${workspaceRoot}/${workspaceFolderBasename}.exe"
|
|
|
|
],
|
|
|
|
"options": {
|
|
|
|
"cwd": "${fileDirname}"
|
|
|
|
},
|
|
|
|
"problemMatcher": [
|
|
|
|
"$gcc"
|
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"detail": "Задача создана отладчиком."
|
2023-03-22 12:06:32 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "cppbuild",
|
|
|
|
"label": "C/C++ x64: g++.exe сборка активного файла",
|
|
|
|
"command": "C:/MinGW64/bin/g++.exe",
|
|
|
|
"args": [
|
|
|
|
"-fdiagnostics-color=always",
|
|
|
|
"${workspaceRoot}/src/*.cpp",
|
|
|
|
"${workspaceRoot}/../dependencies/glad/src/glad.c",
|
|
|
|
|
|
|
|
"-I${workspaceRoot}/include",
|
|
|
|
|
|
|
|
"--std=c++11",
|
|
|
|
|
|
|
|
"-I${workspaceRoot}/../dependencies/GLFW/include",
|
|
|
|
"-L${workspaceRoot}/../dependencies/GLFW/lib-mingw-w64",
|
|
|
|
"-I${workspaceFolder}/../dependencies/glad/include",
|
|
|
|
"-static",
|
|
|
|
"-lopengl32",
|
|
|
|
"-lglfw3dll",
|
|
|
|
"-o",
|
|
|
|
"${workspaceRoot}/${workspaceFolderBasename}.exe"
|
|
|
|
],
|
|
|
|
"options": {
|
|
|
|
"cwd": "${fileDirname}"
|
|
|
|
},
|
|
|
|
"problemMatcher": [
|
|
|
|
"$gcc"
|
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"detail": "Задача создана отладчиком."
|
2022-07-17 08:54:21 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"version": "2.0.0"
|
|
|
|
}
|