From 0523a086089ea065128552461f0158dfee3332ab Mon Sep 17 00:00:00 2001 From: Robear Selwans Date: Mon, 7 Jul 2025 11:28:04 +0300 Subject: [PATCH] Updated .vscode/tasks.json Signed-off-by: Robear Selwans --- .vscode/tasks.json | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index ff8db12..75a0dcf 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -2,19 +2,39 @@ "version": "2.0.0", "tasks": [ { - "label": "Compile", + "label": "Generate Build Files", "type": "shell", - "command": "meson compile -C build" + "command": "meson setup --native-file=build_options/meson-clang-linux --wipe build", + "windows": { + "command": "meson setup --native-file=build_options/meson-clang-win --wipe build" + }, + "presentation": { + "reveal": "silent" + } + }, + { + "label": "Build", + "type": "shell", + "command": "meson compile -C build", + "presentation": { + "reveal": "silent" + } }, { "label": "Run", "type": "shell", - "command": "build/evk.exe" + "command": "./build/evk", + "windows": { + "command": "build/evk.exe" + }, + "presentation": { + "reveal": "always" + } }, { - "label": "Test", - "type": "shell", - "command": "echo \"Hi Bye\"" + "label": "Build & Run", + "dependsOn": ["Build", "Run"], + "dependsOrder": "sequence", } ] }