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