Giter Site home page Giter Site logo

ue4fastbuild's Introduction

UE4FastBuild

This is a fixed version of the FASTBuild.cs file you can find here and here, for UE 4.20 and the windows SDK 10.

Please note also that only VS2017 is supported.

You will have to update a few other files from the UnrealBuildTool project, as stated here.

You will have to update the contents of the function AppendCLArguments_Global of the file VCToolChain.cs to be able to build with VS2017:

if(WindowsPlatform.bUseVCCompilerArgs && CompileEnvironment.bEnableUndefinedIdentifierWarnings)
{
    if (CompileEnvironment.bUndefinedIdentifierWarningsAsErrors)
    {
        if (Target.WindowsPlatform.Compiler == WindowsCompiler.VisualStudio2015 )
        {
            Arguments.Add("/we4668"); 
        }
        else if (Target.WindowsPlatform.Compiler == WindowsCompiler.VisualStudio2017)
        {
            Arguments.Add("/wd4668");
        }
    }
    else
    {
        Arguments.Add("/w44668");
    }
}

Do I have to compile the full source of UE4 to use FASTBuild?

Luckily no :)

All you need to do is:

  • open the project file UnrealBuildTool.csproj in *UE_INSTALL_FOLDER}\Engine\Source\Programs\UnrealBuildTool*
  • Add the FASTBuild.cs file
  • Update the other files accordingly
  • Build in Release: the project is pre-configured to output the binary in the correct folder
  • Enjoy :)

ue4fastbuild's People

Contributors

theemidee avatar

Stargazers

Jongsong Park avatar rad avatar Brian Ernst avatar Sean-Li Murmann avatar  avatar ikrima avatar  avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.