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

Amar Takhar (@amar) gitlab at rtems.org
Sat Jul 6 22:09:32 UTC 2024




Amar Takhar commented: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5061#note_108778


I looked into this and with the way the build system is written for RTEMS I don't see how we'll be supporting this easily.

Honestly I'm not even sure if we'd ever want to support it there is a lot of complexity between architectures that can't be distilled down to a simple set of commandline arguments.

Having said that: waf is already incredibly fast and accurate.  The advantages of taking the commands out of the build system into the IDE or editor are to speed up compiling single files but I don't think using waf you would get any perceptible speedup at all.

You're way better off running "waf" as your run command and "waf configure" if you edit `config.ini`.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5061#note_108778
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/43c636bc/attachment.htm>


More information about the bugs mailing list