Skip to content

Instantly share code, notes, and snippets.

@BioBoost
Created February 11, 2019 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BioBoost/967ee0311237e4efe1bb06a988fb290d to your computer and use it in GitHub Desktop.
Save BioBoost/967ee0311237e4efe1bb06a988fb290d to your computer and use it in GitHub Desktop.
VSCode Simple C++ Tasks
{
"version": "2.0.0",
"tasks": [
{
"label": "run app",
"type": "shell",
"command": "${workspaceFolder}/app.exe",
"args": [],
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": [],
"dependsOn": [ "compile app" ],
},
{
"label": "compile app",
"type": "shell",
"command": "g++",
"args": [
"main.cpp",
"-o",
"app.exe"
],
"problemMatcher": []
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment