overrides.rb: generate compile_comands in cmake projects

json-database for semantic completion engines

see https://rock.opendfki.de/ticket/384

Signed-off-by: Martin Zenzes <martin.zenzes@dfki.de>