Moves rendering files to separate cmake module.