aboutsummaryrefslogtreecommitdiff
path: root/.vscode/tasks.json
diff options
context:
space:
mode:
authormax-001 <maxsmits21@knpmail.nl>2024-10-09 10:54:50 +0200
committermax-001 <maxsmits21@knpmail.nl>2024-10-09 10:54:50 +0200
commitf5b4e2c84326bd96c78ad1f6e4481c1970e54444 (patch)
treeaa75ef01ace01d86ffda93632e0b40dc11e0dcbc /.vscode/tasks.json
parent765550bce8a81c6f0c79c0083b14ef68e0c900b2 (diff)
parent6b7a670d60fec808e4fd1fcf3a8df2c503dcbdf4 (diff)
Merge remote-tracking branch 'origin/master' into max/POC-ECS-homemade
Diffstat (limited to '.vscode/tasks.json')
-rw-r--r--.vscode/tasks.json40
1 files changed, 15 insertions, 25 deletions
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
index 19afa6f..0fd5d23 100644
--- a/.vscode/tasks.json
+++ b/.vscode/tasks.json
@@ -1,38 +1,28 @@
{
- "version": "2.0.0",
"tasks": [
{
- "label": "configure",
- "type": "shell",
- "command": "cmake",
+ "type": "cppbuild",
+ "label": "C/C++: g++ build active file",
+ "command": "/usr/bin/g++",
"args": [
- "-G",
- "Ninja",
- "-B",
- "${workspaceFolder}/mwe/ecs-homemade/build", // Create build folder here
- "${workspaceFolder}/mwe/ecs-homemade" // Path to your source directory
+ "-fdiagnostics-color=always",
+ "-g",
+ "${file}",
+ "-o",
+ "${fileDirname}/${fileBasenameNoExtension}"
],
- "group": {
- "kind": "build",
- "isDefault": false
+ "options": {
+ "cwd": "${fileDirname}"
},
- "problemMatcher": []
- },
- {
- "label": "build",
- "type": "shell",
- "command": "cmake",
- "args": [
- "--build",
- "${workspaceFolder}/mwe/ecs-homemade/build" // Build directory
+ "problemMatcher": [
+ "$gcc"
],
- "dependsOn": "configure", // Ensure the configure task runs first
"group": {
"kind": "build",
"isDefault": true
},
- "problemMatcher": ["$gcc"],
- "detail": "Generated task for building the project."
+ "detail": "Task generated by Debugger."
}
- ]
+ ],
+ "version": "2.0.0"
}