Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
trentnelson
· 2y ago · 0 comments
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.
Comments
[–]
binary132
2y ago
Duh, just alias clang to a script that replaces its debug option and invokes clang, but only for the files you want