diff --git a/.gitignore b/.gitignore index 8ce6710c7..d2177d8e7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +.cache debian/*.debhelper debian/*.log debian/*.substvars diff --git a/.vscode/scripts/download.sh b/.vscode/scripts/download.sh index 064c7c0d6..1d039fef3 100644 --- a/.vscode/scripts/download.sh +++ b/.vscode/scripts/download.sh @@ -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 diff --git a/.vscode/settings.linux.json b/.vscode/settings.linux.json new file mode 100644 index 000000000..8693f56d7 --- /dev/null +++ b/.vscode/settings.linux.json @@ -0,0 +1,6 @@ +{ + "cmake.configureSettings": { + "CMAKE_BUILD_TYPE": "Debug" + }, + "cmake.copyCompileCommands": "${workspaceFolder}/compile_commands.json" +}