Export compile_commands.json in cmake so it's easy to work with several vim plugins.