Updated .vscode/tasks.json
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
This commit is contained in:
30
.vscode/tasks.json
vendored
30
.vscode/tasks.json
vendored
@@ -2,19 +2,39 @@
|
|||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"tasks": [
|
"tasks": [
|
||||||
{
|
{
|
||||||
"label": "Compile",
|
"label": "Generate Build Files",
|
||||||
"type": "shell",
|
"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",
|
"label": "Run",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
|
"command": "./build/evk",
|
||||||
|
"windows": {
|
||||||
"command": "build/evk.exe"
|
"command": "build/evk.exe"
|
||||||
},
|
},
|
||||||
|
"presentation": {
|
||||||
|
"reveal": "always"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"label": "Test",
|
"label": "Build & Run",
|
||||||
"type": "shell",
|
"dependsOn": ["Build", "Run"],
|
||||||
"command": "echo \"Hi Bye\""
|
"dependsOrder": "sequence",
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user