update vscode settings
This commit is contained in:
parent
c43fc735c3
commit
aced84735b
3 changed files with 11 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
|||
.cache
|
||||
debian/*.debhelper
|
||||
debian/*.log
|
||||
debian/*.substvars
|
||||
|
|
4
.vscode/scripts/download.sh
vendored
4
.vscode/scripts/download.sh
vendored
|
@ -1,6 +1,10 @@
|
|||
#!/bin/bash
|
||||
stratagus_folder="$1"
|
||||
|
||||
if [ ! -e "${stratagus_folder}/.vscode/settings.json" ]; then
|
||||
cp "${stratagus_folder}/.vscode/settings.linux.json" "${stratagus_folder}/.vscode/settings.json"
|
||||
fi
|
||||
|
||||
if [ ! -d "${stratagus_folder}/../wargus" ]; then
|
||||
git clone https://github.com/Wargus/wargus "${stratagus_folder}/../wargus"
|
||||
fi
|
||||
|
|
6
.vscode/settings.linux.json
vendored
Normal file
6
.vscode/settings.linux.json
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"cmake.configureSettings": {
|
||||
"CMAKE_BUILD_TYPE": "Debug"
|
||||
},
|
||||
"cmake.copyCompileCommands": "${workspaceFolder}/compile_commands.json"
|
||||
}
|
Loading…
Reference in a new issue