mirror of
https://github.com/thepigeongenerator/sdl_template.git
synced 2025-12-17 05:55:47 +01:00
make compile_commands.json when opening directory
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -3,3 +3,4 @@
|
||||
!.vscode/launch.json
|
||||
bin
|
||||
obj
|
||||
compile_commands.json
|
||||
|
||||
12
.vscode/tasks.json
vendored
12
.vscode/tasks.json
vendored
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"type": "shell",
|
||||
@@ -47,7 +48,14 @@
|
||||
"isDefault": false
|
||||
},
|
||||
"detail": "builds the program for web using emscripten"
|
||||
},
|
||||
{
|
||||
"label": "create compile_commands.json",
|
||||
"type": "shell",
|
||||
"command": "bear -- make",
|
||||
"runOptions": {
|
||||
"runOn": "folderOpen"
|
||||
}
|
||||
],
|
||||
"version": "2.0.0"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user