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.
This should do it.
I needed to restart Visual Studio before I noticed the differene. VS compiles my code, typically, in a few seconds. I have quite a few classes with close to 1000 lines of code.