IDE/VScode
task.json 파일
YoungQ
2019. 7. 1. 23:39
반응형
아래 파일과 파일 내용입니다.
{
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "build_gcc",
"type": "shell",
"command": "gcc",
"args": [
"-g",
"-o",
"${fileDirname}/${fileBasenameNoExtension}.out",
"${file}"
],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "build_g++",
"type": "shell",
"command": "g++",
"args": [
"-g",
"-o",
"${fileDirname}/${fileBasenameNoExtension}.out",
"${file}"
],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "exec",
"type": "shell",
"command": "${fileDirname}/${fileBasenameNoExtension}.out",
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
반응형