diff options
author | jaroWMR <jarorutjes07@gmail.com> | 2024-10-10 07:06:11 +0200 |
---|---|---|
committer | jaroWMR <jarorutjes07@gmail.com> | 2024-10-10 07:06:11 +0200 |
commit | 3f22ea7e41a81d3c818bdeb536f8df7ff352ae0f (patch) | |
tree | 68fc72eb4c11beb5e1c304b9490fce7192d132f3 /.vscode/tasks.json | |
parent | 97621ae53dfc3434cd97e45266bd4f4ac2ef49e1 (diff) | |
parent | 29fb4bda4872bdfe33a2416a239fb62fc0238167 (diff) |
merge with master
Diffstat (limited to '.vscode/tasks.json')
-rw-r--r-- | .vscode/tasks.json | 40 |
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" + ] } |