0
0
mirror of https://github.com/Nimac0/SDL_Minigame synced 2026-01-12 06:53:41 +00:00

extended vscode and sublime text project files

This commit is contained in:
Benedikt Galbavy 2024-05-01 20:05:58 +02:00
parent 52daf5c5b6
commit d8e1182499
3 changed files with 51 additions and 4 deletions

1
.gitignore vendored
View File

@ -55,7 +55,6 @@ build/
# Sublime Text
*.sublime-workspace
*.sublime-project
# Created by https://www.gitignore.io/api/visualstudiocode
# Edit at https://www.gitignore.io/?templates=visualstudiocode

View File

@ -1,6 +1,5 @@
{
"cmake.configureOnOpen": true,
"files.associations": {
"iostream": "cpp"
}
"editor.tabSize": 4,
"editor.insertSpaces": true,
}

49
engine.sublime-project Normal file
View File

@ -0,0 +1,49 @@
{
"folders":
[
{
"path": "."
}
],
"settings":
{
"tab_size": 4
},
"build_systems": [
{
"name": "Build engine",
"shell_cmd": "cmake --build build",
"working_dir": "$project_path",
"variants": [
{
"name": "Debug",
"shell_cmd": "cmake -DCMAKE_BUILD_TYPE=Debug build && cmake --build build",
},
{
"name": "Release",
"shell_cmd": "cmake -DCMAKE_BUILD_TYPE=Release build && cmake --build build",
},
]
},
{
"name": "Generate CMake",
"shell_cmd": "cmake -S . -B build",
"working_dir": "$project_path",
},
{
"name": "Doxygen",
"shell_cmd": "xdg-open $project_path/docs/html/index.html",
"working_dir": "$project_path",
"variants": [
{
"name": "Build image",
"shell_cmd": "docker build -t vego_engine-docker $project_path/docs/docker",
},
{
"name": "Generate documentation",
"shell_cmd": "docker run --rm -v \"$project_path:/source\" -v \"$project_path/docs:/output\" -v \"$project_path/docs/Doxyfile:/Doxyfile\" vego_engine-docker",
},
]
}
]
}