YCM now makes an attempt to find a compile_commands.json file in build directories up the chain of parent directories.