How to speed up compilation time

I have an SSD disk and what I need to move to it to speed up compilation:
Unreal Engine, Unreal Engine project or Visual Studio?

Optimally you’d have all 3 on the SSD; doing so will ultimately make so have a quicker UE4 workflow all around (more RAM helps with that too though).

Thank you, but I just lack the data transfer speed on the hard drive, and that’s all that’s enough