Hacker News new | ask | show | jobs
by trentnelson 682 days ago
I like the idea of hacking the crap out of `compile_commands.json` and subverting it for your evil machinations outside of the normal build process. Such a hideously pragmatic tip.
1 comments

Duh, just alias clang to a script that replaces its debug option and invokes clang, but only for the files you want