diff options
author | Max-001 <80035972+Max-001@users.noreply.github.com> | 2024-10-02 12:33:11 +0200 |
---|---|---|
committer | Max-001 <80035972+Max-001@users.noreply.github.com> | 2024-10-02 12:33:11 +0200 |
commit | 24d284a4ebf7928310e42aaff2d4a1a08c7a7dd5 (patch) | |
tree | c3579136c510bfca6b99d94e1127d8ce7608c30c /.vscode/tasks.json | |
parent | 5458abaca5f01a4d34bb55b1b44dc4fb4e9890be (diff) |
Added tasks to quickly build POC, added launch to quickly debug POC
Diffstat (limited to '.vscode/tasks.json')
-rw-r--r-- | .vscode/tasks.json | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..19afa6f --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,38 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "configure", + "type": "shell", + "command": "cmake", + "args": [ + "-G", + "Ninja", + "-B", + "${workspaceFolder}/mwe/ecs-homemade/build", // Create build folder here + "${workspaceFolder}/mwe/ecs-homemade" // Path to your source directory + ], + "group": { + "kind": "build", + "isDefault": false + }, + "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 + }, + "problemMatcher": ["$gcc"], + "detail": "Generated task for building the project." + } + ] +} |