Commit Graph
4 Commits
Author SHA1 Message Date
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
NathanandGitHub 39697835f3 Actually remove config.debug all the way (#36) 2024-09-07 09:15:05 -06:00
NathanandGitHub 3f0a1529ff Move conditional linker flag additions from project.py to configure.py (#35) 2024-09-07 02:18:53 -06:00
NathanandGitHub cf654dd8ad Allow adding re-configure dependencies and doing non-matching builds (#22)
* Fix type checking errors with config version

* Add optional reconfigure dependency list to project config

* Add non-matching build option
Skips hash check and progress output

* Uncomment `config.reconfig_deps` assignment

* Change default target for non-matching instead of stubbing check/progress
2024-05-18 14:50:32 -06:00