VS Code settings for code and debugging (Linux x64 only)

This commit is contained in:
Andrew Udvare 2020-10-05 04:57:21 -04:00
commit 5454456cb3
No known key found for this signature in database
GPG key ID: 1AFD9AFC120C26DD
3 changed files with 81 additions and 0 deletions

39
.vscode/tasks.json vendored Normal file
View file

@ -0,0 +1,39 @@
{
"inputs": [
{
"default": "5",
"description": "Number of jobs to run simultaneously when compiling",
"id": "numberOfJobs",
"type": "promptString"
}
],
"tasks": [
{
"args": ["--with-librw", "gmake2"],
"command": "./premake5Linux",
"label": "Premake (Linux)",
"problemMatcher": "$gcc",
"type": "shell"
},
{
"args": [
"-j${input:numberOfJobs}",
"config=debug_linux-amd64-librw_gl3_glfw-oal",
"verbose=1"
],
"command": "make",
"dependsOn": "Premake (Linux)",
"group": {
"isDefault": true,
"kind": "build"
},
"label": "Compile (Linux x64)",
"options": {
"cwd": "${workspaceFolder}/build"
},
"problemMatcher": "$gcc",
"type": "shell"
}
],
"version": "2.0.0"
}