add build tasks for vs code

This commit is contained in:
root
2024-12-20 12:35:56 +02:00
committed by ohyzha
parent c24ef36392
commit deebb0ef96

52
.vscode/tasks.json vendored Normal file
View File

@@ -0,0 +1,52 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Build OpenVulkano",
"type": "shell",
"command": "cmake",
"args": [
"--build",
"${workspaceFolder}/build",
"--target",
"openVulkanoCpp"
],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Build OpenVulkano examples",
"type": "shell",
"command": "cmake",
"args": [
"--build",
"${workspaceFolder}/build",
"--target",
"OpenVulkano_Examples"
],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Build OpenVulkano tests",
"type": "shell",
"command": "cmake",
"args": [
"--build",
"${workspaceFolder}/build",
"--target",
"OpenVulkano_Examples"
],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}