overrides.rb: generate compile_comands in cmake projects

json-database for semantic completion engines

see https://rock.opendfki.de/ticket/384

I hope i got the right "overrides.rb" -- found three while briefly scrolling around...

Signed-off-by: Martin Zenzes <martin.zenzes@dfki.de>