Skip to content

Instantly share code, notes, and snippets.

@ikrima
Created April 6, 2017 20:17
Show Gist options
  • Save ikrima/4689945cda319f837d443ef448d878fa to your computer and use it in GitHub Desktop.
Save ikrima/4689945cda319f837d443ef448d878fa to your computer and use it in GitHub Desktop.
4.15 UE4 Optimized Build Rules
public BBR(TargetInfo Target)
{
//Config
//BuildConfiguration.RelativeEnginePath = /* ...*/;
//Debug
//---BuildConfiguration.bOmitPCDebugInfoInDevelopment = true /* d=false */;
//BuildConfiguration.bSupportEditAndContinue = false /* d=false */;
//BuildConfiguration.bDisableDebugInfoForGeneratedCode = true /* d=true */;
//BuildConfiguration.bAllowLTCG = false /* d=false */;
//Build
bEnforceIWYU = true;
PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;
BuildConfiguration.ProcessorCountMultiplier = 2 /* d=1 */;
//---MinFilesUsingPrecompiledHeaderOverride = 1;
//---bFasterWithoutUnity = true;
//---BuildConfiguration.bAllowRemotelyCompiledPCHs = true /* d=false */;
BuildConfiguration.bUseIncrementalLinking = true /* d=false */;
BuildConfiguration.bUseFastPDBLinking = true /* d=false */;
BuildConfiguration.bAddFastPDBToProjects = true /* d=false */;
BuildConfiguration.bUseUBTMakefiles = true /* d=true */;
BuildConfiguration.bUseUHTMakefiles = true /* d=false */;
//BuildConfiguration.bUsePCHFiles = true /* d=true */;
//BuildConfiguration.bUseUnityBuild = true /* d=true */;
//BuildConfiguration.bForceUnityBuild = false /* d=false */;
//BuildConfiguration.bUseAdaptiveUnityBuild = true /* d=true */;
//BuildConfiguration.bForcePrecompiledHeaderForGameModules = true /* d=true */;
BuildConfiguration.bPrintDebugInfo = true /* d=false */;
BuildConfiguration.bPrintPerformanceInfo = true /* d=false */;
BuildConfiguration.bStopXGECompilationAfterErrors = false /* d=true */;
//BuildConfiguration.bEnableCodeAnalysis = true /* d=false */;
//BuildConfiguration.bRunUnrealCodeAnalyzer = true /* d=false */;
//BuildConfiguration.bUCACheckUObjectThreadSafety = true /* d=false */;
//BuildConfiguration.bUCACheckPCHFiles = true /* d=false */;
//BuildConfiguration.UCAUsageThreshold = 0.0f /* d=100.0 */;
//BuildConfiguration.UCAModuleToAnalyze = "BBR" /* d="" */;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment