Building UE to a custom folder?

Hi all. I was wondering if it is possible to have UE source code setup in a folder, but have the build output in a completely different folder, maybe even on another drive? Thanks.