update vscode settings

This commit is contained in:
Tim Felgentreff 2021-07-03 13:08:31 +02:00
parent c43fc735c3
commit aced84735b
3 changed files with 11 additions and 0 deletions

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
.cache
debian/*.debhelper
debian/*.log
debian/*.substvars

View file

@ -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
View file

@ -0,0 +1,6 @@
{
"cmake.configureSettings": {
"CMAKE_BUILD_TYPE": "Debug"
},
"cmake.copyCompileCommands": "${workspaceFolder}/compile_commands.json"
}