Last active
November 12, 2025 01:35
-
-
Save chris-gong/3f625ed542c0cc3f5a8126ac648c70e1 to your computer and use it in GitHub Desktop.
Settings to speed up building Unreal Engine from source
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8" ?> | |
| <Configuration xmlns="https://www.unrealengine.com/BuildConfiguration"> | |
| <!-- Disable calls to `git status` at the start of the build --> | |
| <SourceFileWorkingSet> | |
| <Provider>None</Provider> | |
| <RepositoryPath></RepositoryPath> | |
| <GitPath></GitPath> | |
| </SourceFileWorkingSet> | |
| <BuildConfiguration> | |
| <!-- Let UBT pick UBA when available --> | |
| <bAllowUBAExecutor>true</bAllowUBAExecutor> | |
| <!-- (Optional) keep the other distributed systems off --> | |
| <bAllowXGE>false</bAllowXGE> | |
| <bAllowFASTBuild>false</bAllowFASTBuild> | |
| <!-- I don't recommend disabling debug information --> | |
| <!-- but uncommenting these lines below will speed up the build --> | |
| <!-- bDisableDebugInfo has been deprecated since UE 5.4, --> | |
| <!-- use TargetRules.DebugInfo or TargetRules.DebugInfo instead --> | |
| <!--<bDisableDebugInfo>true</bDisableDebugInfo>--> | |
| <!--<bDisableDebugInfoForGeneratedCode>true</bDisableDebugInfoForGeneratedCode>--> | |
| <!--<bOmitPCDebugInfoInDevelopment>true</bOmitPCDebugInfoInDevelopment>--> | |
| <!-- Pre-Compiled Header (PCH) settings --> | |
| <!-- Should be enabled by default, makes a huge difference --> | |
| <bUsePCHFiles>true</bUsePCHFiles> | |
| <bUseSharedPCHs>true</bUseSharedPCHs> | |
| <!-- Unity-build (jumbo file) settings --> | |
| <!-- Should be enabled by default, makes the biggest difference --> | |
| <bUseUnityBuild>true</bUseUnityBuild> | |
| <!-- tell UBT to use SMT threads (physical + logical cores) --> | |
| <bAllCores>true</bAllCores> | |
| </BuildConfiguration> | |
| <!-- Again, I don't recommend disabling debug information --> | |
| <!-- but uncommenting these lines below will speed up the build --> | |
| <!--<WindowsPlatform> | |
| <bNoLinkerDebugInfo>true</bNoLinkerDebugInfo> | |
| </WindowsPlatform>--> | |
| </Configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment