I have the same configuration in my project Source/Test2DPlatformer.Build.cs file just like this:
using UnrealBuildTool;
public class Test2DPlatformer : ModuleRules
{
public Test2DPlatformer(TargetInfo Target)
{
PublicDependencyModuleNames.AddRange(new string] { "Core", "CoreUObject", "Engine", "InputCore", "Paper2D" });
PrivateDependencyModuleNames.AddRange(new string] { });
// tanis - start faster compile time for small projects
MinFilesUsingPrecompiledHeaderOverride = 1;
bFasterWithoutUnity = true;
// tanis - end
}
}
But it didn’t really make any difference to my compile times. And my project is just about 10 classes at the moment. Total compile time is still around 30 seconds.