How can I build source code to enable Deferred rendering with metal?

Is there a step-by-step guide on this?Do I need to modify some of the source files to enable this?Thanks very much!