How to correctly setup perforce with a Unreal Project that uses C++ Code

I created a lot of workspaces trying to get this to work correctly…