Game and engine headers collide when building and generating projects

To Whom It May Concern,

We are at version 4.25.3 and we have encountered an issue when the game and the editor have different build settings. When generating project files will collide between the game and engine projects when generating the Definitions.h file and when building, generating header files (pch and otherwise) will also stomp header files. This is in particular for plugins, engine code, etc used in common between game and engine.

We worked around it by using the header suffix for the Definitions.h (so we get Definitions.UE4Editor.h for example, we did something similar for adaptive and pch). For the other headers we disabled building the unreal project itself.

Thank you,
Brent Scriver