mirror of
https://github.com/encounter/dtk-template.git
synced 2025-09-25 03:49:36 +00:00
* Implement support for generating clangd `compile_commands.json` config * Add example .clangd file * Tidy .gitignore and add entries for clangd and other things * couple things i forgot to remove * Change indent level to 2 * Centralize file type checking logic * Refactor flag replacments to fix `-lang=` flags not being handled * Move language flag fallback addition to `generate_build_ninja` * Remove file type flags from .clangd example * Remove clangd compiler defines option Projects which need it can define things themselves in .clangd * Move global clangd flags to tools/project.py & update vscode config --------- Co-authored-by: Luke Street <luke@street.dev>
36 lines
307 B
Plaintext
36 lines
307 B
Plaintext
# IDE folders
|
|
.idea/
|
|
.vs/
|
|
|
|
# Caches
|
|
__pycache__
|
|
.mypy_cache
|
|
.cache/
|
|
|
|
# Original files
|
|
orig/*/*
|
|
!orig/*/.gitkeep
|
|
*.dol
|
|
*.rel
|
|
*.elf
|
|
*.o
|
|
*.map
|
|
*.MAP
|
|
|
|
# Build files
|
|
build/
|
|
.ninja_*
|
|
build.ninja
|
|
|
|
# decompctx output
|
|
ctx.*
|
|
*.ctx
|
|
|
|
# Generated configs
|
|
objdiff.json
|
|
compile_commands.json
|
|
|
|
# Miscellaneous
|
|
/*.txt
|
|
*.exe
|