RTEMS | waf creation of compile_commands.json (#5061)

Michael Frandsen (@michael.hesselberg.frandsen) gitlab at rtems.org
Sat Jul 6 07:38:51 UTC 2024



Michael Frandsen created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5061



## Summary
When working in editors like vi, vim, and neovim it is helpful to have compile_commands.json. WAF extras do have this, but it is not included in the library produced/fetched by the waf binary in .waf3-2.0.19xxxxx.
Currently the json can be created by other external tools, but having this out of the box in waf seems more appropriate.


## Steps to reproduce
create a hello project and use the instructions of the quick start. 
Add a line containing 'conf.load('clang_compilation_database')' in the def configure(conf) function.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5061
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240706/7314ee20/attachment.htm>


More information about the bugs mailing list