Created
February 27, 2021 15:20
-
-
Save kkumtree/607a6422e7a6c0cac5eb0ad432dc6638 to your computer and use it in GitHub Desktop.
vscode_mac_sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "g++ - 활성 파일 빌드 및 디버그", | |
"type": "cppdbg", | |
"request": "launch", | |
"program": "${fileDirname}/${fileBasenameNoExtension}", | |
"args": [], | |
"stopAtEntry": false, | |
"cwd": "${workspaceFolder}", | |
"environment": [], | |
"externalConsole": false, | |
"MIMode": "lldb", | |
"preLaunchTask": "C/C++: g++ build active file", | |
"setupCommands": [ | |
{ | |
"text": "setting set target.input-path ${fileDirname}/input" | |
} | |
] | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"tasks": [ | |
{ | |
"type": "shell", | |
"label": "C/C++: g++ build active file", | |
"command": "/usr/bin/g++", | |
"args": [ | |
"-g", | |
"-std=c++14", | |
"${file}", | |
"-o", | |
"${fileDirname}/${fileBasenameNoExtension}" | |
], | |
"options": { | |
"cwd": "/usr/bin" | |
}, | |
"problemMatcher": [ | |
"$gcc" | |
], | |
"group": { | |
"kind": "build", | |
"isDefault": true | |
}, | |
"detail": "Generated task by Debugger" | |
}, | |
{ | |
"type": "shell", | |
"label": "execute", | |
"command": "${fileDirname}/${fileBasenameNoExtension} < input", | |
"group": "test", | |
"presentation": { | |
"clear": true | |
} | |
} | |
], | |
"version": "2.0.0" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment