Commit Graph

4 Commits

Author SHA1 Message Date
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
Thaddeus Crews 575e3b4a46
Implement mypy fixes across all python files (#4)
• Type hinting added to every single file
• Path conversion now handled in `ninja_syntax.py` natively, can safely pass almost everything directly
2024-01-23 23:21:46 -07:00
Luke Street 1bcf33638f Sync various changes from other repos & minor updates 2023-11-21 20:14:25 -05:00
Luke Street 5b8fbc6cd5 Initial commit 2023-10-04 23:30:39 -04:00