Last active
March 24, 2023 07:44
-
-
Save Longhanks/4bb8a8f1f92da32a37e9f6e4db1dbd9f to your computer and use it in GitHub Desktop.
vscode-cpp-tasks-json
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
Show hidden characters
// -*- jsonc -*- | |
{ | |
// See https://go.microsoft.com/fwlink/?LinkId=733558 | |
// for the documentation about the tasks.json format | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "cmake configure", | |
"type": "cmake", | |
"command": "configure", | |
"problemMatcher": [], | |
"detail": "Runs cmake and configures the project." | |
}, | |
{ | |
"label": "clean", | |
"type": "cmake", | |
"command": "clean", | |
"problemMatcher": [], | |
"detail": "Clean the output directory via cmake." | |
}, | |
{ | |
"label": "build current target", | |
"type": "cmake", | |
"group": { | |
"kind": "build", | |
"isDefault": true | |
}, | |
"command": "build", | |
"targets": [ | |
"${command:cmake.buildTargetName}" | |
], | |
"presentation": { | |
"reveal": "always", | |
"panel": "dedicated", | |
"close": false, | |
"showReuseMessage": false, | |
"clear": true | |
}, | |
"problemMatcher": "$msCompile" | |
}, | |
{ | |
"label": "debug", | |
"command": "${command:workbench.action.debug.start}", | |
}, | |
{ | |
"label": "run", | |
"command": "${command:workbench.action.debug.run}", | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment