AndrewScheidecker / BrickGame

A demo of Minecraft-style voxel rendering in UE4
401 stars 143 forks source link

Faster compile time #30

Open miguelemosreverte opened 8 years ago

miguelemosreverte commented 8 years ago

Changing BrickGame.Build.cs to this:

// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.

using UnrealBuildTool;

public class BrickGame : ModuleRules
{
    public BrickGame(TargetInfo Target)
    {
        MinFilesUsingPrecompiledHeaderOverride = 1;
        bFasterWithoutUnity = true;
        PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore" });
    }
}

Improves compile time, like, for realsies. From minutes to 20 seconds tops.

AndrewScheidecker commented 8 years ago

Can you make a pull request for this?

miguelemosreverte commented 8 years ago

Right away!

miguelemosreverte commented 8 years ago

Actually credit should go to the french developing team @JohnsonJackblue is part of, they where the ones who discovered this!