You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
93 lines
2.6 KiB
93 lines
2.6 KiB
{
|
|
"version": "2.0.0",
|
|
"runner": "terminal",
|
|
"type": "shell",
|
|
"echoCommand": true,
|
|
"presentation": {
|
|
"reveal": "always"
|
|
},
|
|
"tasks": [
|
|
{
|
|
"label": "save and compile for C++",
|
|
"command": "g++",
|
|
"args": [
|
|
"-g",
|
|
"${fileDirname}/*.cpp",
|
|
"-o",
|
|
"${fileDirname}/bin/${fileBasenameNoExtension}"
|
|
],
|
|
"group": "build",
|
|
"problemMatcher": {
|
|
"fileLocation": [
|
|
"relative",
|
|
"${workspaceRoot}"
|
|
],
|
|
"pattern": {
|
|
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning error):\\s+(.*)$",
|
|
"file": 1,
|
|
"line": 2,
|
|
"column": 3,
|
|
"severity": 4,
|
|
"message": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"label": "save and compile for C",
|
|
"command": "gcc",
|
|
"args": [
|
|
"-g",
|
|
"${fileDirname}/*.c",
|
|
"-o",
|
|
"${fileDirname}/bin/${fileBasenameNoExtension}"
|
|
],
|
|
"group": "build",
|
|
"problemMatcher": {
|
|
"fileLocation": [
|
|
"relative",
|
|
"${workspaceRoot}"
|
|
],
|
|
"pattern": {
|
|
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning error):\\s+(.*)$",
|
|
"file": 1,
|
|
"line": 2,
|
|
"column": 3,
|
|
"severity": 4,
|
|
"message": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"label": "execute",
|
|
"command": "cmd",
|
|
"group": "test",
|
|
"args": [
|
|
"/C",
|
|
"${fileDirname}\\bin\\${fileBasenameNoExtension}"
|
|
]
|
|
},
|
|
{
|
|
"type": "cppbuild",
|
|
"label": "C/C++: gcc.exe 활성 파일 빌드",
|
|
"command": "C:/mingw64/bin/gcc.exe",
|
|
"args": [
|
|
"-fdiagnostics-color=always",
|
|
"-g",
|
|
"${fileDirname}\\*.c",
|
|
"-o",
|
|
"${fileDirname}\\bin\\${fileBasenameNoExtension}.exe"
|
|
],
|
|
"options": {
|
|
"cwd": "C:/mingw64/bin"
|
|
},
|
|
"problemMatcher": [
|
|
"$gcc"
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"detail": "디버거에서 생성된 작업입니다."
|
|
}
|
|
]
|
|
} |