dtk-template/tools
Nathan 75697a8e6d
Add support for generating clangd `compile_commands.json` config (#38)
* 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>
2024-10-12 16:50:12 -06:00
..
__init__.py Initial commit 2023-10-04 23:30:39 -04:00
decompctx.py Allow spaces after '#' character (#29) 2024-08-17 21:18:22 -06:00
download_tool.py Add support for generating clangd `compile_commands.json` config (#38) 2024-10-12 16:50:12 -06:00
ninja_syntax.py Fix Windows path handling 2024-03-04 08:19:20 -07:00
project.py Add support for generating clangd `compile_commands.json` config (#38) 2024-10-12 16:50:12 -06:00
transform_dep.py Set mode `+x` on executable Python scripts (#10) 2024-01-26 10:42:46 -07:00
upload_progress.py Set mode `+x` on executable Python scripts (#10) 2024-01-26 10:42:46 -07:00