Commit Graph

213 Commits

Author SHA1 Message Date
jonathan adamczewski
5e55080b19 UnrealBuildTool: allow MemoryPerAction to be set per-target
Can be used to reduce the number of build actions that will be run in parallel by ParallelExecutor or TaskExecutor.

Example use, in MyProject.Target.cs:

public class MyProjectTarget : TargetRules
{
	public MyProjectTarget(TargetInfo Target) : base(Target)
	{
		Type = TargetType.Game;
		DefaultBuildSettings = BuildSettingsVersion.V2;

		ExtraModuleNames.AddRange( new string[] { "MyProject" } );

		MemoryPerActionGB = 4;
	}
}

#jira none

[CL 17546182 by jonathan adamczewski in ue5-main branch]
2021-09-16 19:34:54 -04:00
Ben Marsh
3d9eb79c24 UBT: Fix exception trying to serialize overrides for warning levels to XML config cache.
[CL 17492941 by Ben Marsh in ue5-main branch]
2021-09-13 12:28:17 -04:00
Ben Marsh
953a76d4d8 UBT: Fix WarningsAsErrors settings being ignored.
[CL 17474045 by Ben Marsh in ue5-main branch]
2021-09-09 13:21:26 -04:00
aurel cordonnier
e3f7878676 Merge from Release-Engine-Test @ 17462327 to UE5/Main
This represents UE4/Main @17430120 and Dev-PerfTest @17437669

[CL 17463546 by aurel cordonnier in ue5-main branch]
2021-09-08 16:42:26 -04:00
Ben Marsh
91a633c63b UBT: Make sure deprecation warnings are treated as errors when -WarningsAsErrors is specified on the command line. Fixes a number of intermittent errors through Horde.
[CL 17394491 by Ben Marsh in ue5-main branch]
2021-09-01 19:34:12 -04:00
jonathan adamczewski
8428bb38a5 UnrealBuildTool:
TargetRules.File may be null in the TargetRules() constructor when run from AutomationTool.ProjectUtils.CompileAndLoadTargetsAssembly()

#jira none
#rb none

[CL 17379113 by jonathan adamczewski in ue5-main branch]
2021-08-31 18:08:40 -04:00
jonathan adamczewski
4235dc097f UnrealBuildTool:
Make ConfigValueTracker immutable.
Propagate some nullability in and around TargetRules.

#jira none
#rb none

[CL 17377821 by jonathan adamczewski in ue5-main branch]
2021-08-31 17:09:20 -04:00
Rolando Caloca
d64b146cb2 UE5 - Remove platform
#rb Steve.Smith
#fyi Jules.Blok, Ryan.Durand, Ben.Marsh

[CL 17295935 by Rolando Caloca in ue5-main branch]
2021-08-24 19:27:11 -04:00
sara schvartzman
c8e04eb088 Control Rig Spline: Adapt to LWC
#rb helge.mathee
#jira na

[CL 17234270 by sara schvartzman in ue5-main branch]
2021-08-19 10:58:55 -04:00
Andrew Davidson
9b0f58e47c LWC: Large World Coordinates toggle defaults to ON.
Frosty and Fortnite default to OFF.

Preflight validation runs: 611c2b645e73720001a4ccf3, 611c318caabad10001091e20,611c2ba99db7df000111041b

#rb chad.garyet
#jira UE-121664
#preflight 611d33b23a81b00001365b33

[CL 17218586 by Andrew Davidson in ue5-main branch]
2021-08-18 13:58:13 -04:00
Andrew Davidson
6d03d83fcc Undo //UE5/Main/... changelist 17203923
[CL 17205235 by Andrew Davidson in ue5-main branch]
2021-08-17 16:27:35 -04:00
Andrew Davidson
153948b5af LWC: Large World Coordinates toggle defaults to ON.
Frosty and Fortnite default to OFF.

Preflight validation runs: 611aa00f3a81b00001d2998f, 611ad177aabad10001ca6a74, 611ad5773a81b00001d9947c, 611b8a2876f1fd00010eac6d

#rb ryan.durand
#jira UE-121664
#preflight 611b72d3aabad10001e5e3c3

[CL 17203923 by Andrew Davidson in ue5-main branch]
2021-08-17 15:32:48 -04:00
aurel cordonnier
dc856801cd Merge from Release-Engine-Test @ 17059716 to UE5/Main
This represents UE4/Main @ 17030256 and Dev-PerfTest @ 17029914

[CL 17060422 by aurel cordonnier in ue5-main branch]
2021-08-04 17:46:20 -04:00
Stefan Boberg
703533783e UE4 -> UE
#jira none
#rb trivial
#fyi jonathan.adamcewski

[CL 17048101 by Stefan Boberg in ue5-main branch]
2021-08-04 06:39:57 -04:00
ben zeigler
cc4f7aa8d1 #jira UE-120464 Add Custom Config directory feature, which allows specifying an override directory to support shipping multiple types of builds per platform
Setting CustomConfig=Foo in a Target.cs file will cause it to overlay config files from Project/Config/Custom/Foo on top of the defaults, allowing easy override of things like OSS settings to support multiple stores
In development, -CustomConfig=foo can be specified in both C++ and C# to enable the same functionality, which can be used to select between multiple different stage/deploy configurations in a build script
#rb josh.adams, ben.marsh

[CL 17017130 by ben zeigler in ue5-main branch]
2021-08-02 12:21:42 -04:00
aurel cordonnier
d17d20ca36 Merge from Release-Engine-Test @ 16758890 to UE5/Main
This represents UE4/Main @ 16738161 and Dev-PerfTest @ 16737719 (and Release-17.00 @ 16658211)

[CL 16763350 by aurel cordonnier in ue5-main branch]
2021-06-23 17:51:32 -04:00
jonathan adamczewski
4ece24e65a AutomationTool, BuildUtilities:
UnrealBuild -> Unreal for EngineDirectory, RootDirectory, IsEngineInstalled, UnrealBuildToolPath
Remove CommandUtils EngineDirectory, RootDirectory, IsEngineInstalled - use equvalents from UnrealBuildBase.Unreal

#jira none

[CL 16648181 by jonathan adamczewski in ue5-main branch]
2021-06-11 18:20:44 -04:00
jonathan adamczewski
f9cdd2dc5d UnrealBuildTool:
Move IsEngineInstalled() into BuildUtilities

#jira none

[CL 16642197 by jonathan adamczewski in ue5-main branch]
2021-06-11 11:37:23 -04:00
Zousar Shaker
0b63e379fa Allow TargetRules to specify pointer behavior overrides that will be applied when calling UnrealHeaderTool. This is to permit individual projects (eg: ShooterGame) to enforce use of TObjectPtr in place of raw pointer members without requiring that other projects do the same. Example usage from ShooterGameEditor.target.cs:
NativePointerMemberBehaviorOverride = PointerMemberBehavior.Disallow;

#rb jonathan.adamczewski

[CL 16640935 by Zousar Shaker in ue5-main branch]
2021-06-11 10:07:55 -04:00
jonathan adamczewski
94b14ee042 UnrealBuildTool: move some path constants into BuildUtilities
RootDirectory, EngineDirectory, UnrealBuildToolPath are now found in BuildUtilities' UnrealBuild namesapce.

The way these are computed has changed. Previously, it was assumed that the application is UnrealBuildTool, and paths were constructed relative to that assembly.

Now, the assumption is that the process is located under a "Engine/Build/DotNET" sub-path and paths are constructed relative to that.

#jira none

[CL 16607440 by jonathan adamczewski in ue5-main branch]
2021-06-09 12:54:42 -04:00
aurel cordonnier
43fa62fcd8 Merge from Release-Engine-Test @ 16487383 to UE5/Main
This represents UE4/Main @ 16445039 and Dev-PerfTest @ 16444526

[CL 16488106 by aurel cordonnier in ue5-main branch]
2021-05-27 13:40:37 -04:00
dmytro vovk
3077855af3 Fixed -skipdeploy UBT command. This was resulting in BuildCookRun making and APK twice
#jira UE-113865
#rb Chris.Babcock Ben.Marsh

[CL 16347640 by dmytro vovk in ue5-main branch]
2021-05-17 08:53:53 -04:00
Andrew Davidson
3ddc3a4da3 Merge up from //UE5/Dev-LargeWorldCoordinates
#rb none

[CL 16211417 by Andrew Davidson in ue5-main branch]
2021-05-05 15:07:25 -04:00
jonathan adamczewski
1f82bedc58 Removal some references to Mono
#trivial
#jira none

[CL 16171278 by jonathan adamczewski in ue5-main branch]
2021-04-30 14:34:17 -04:00
aurel cordonnier
50944fd712 Merge UE5/RES @ 16162155 to UE5/Main
This represents UE4/Main @ 16130047 and Dev-PerfTest @ 16126156

[CL 16163576 by aurel cordonnier in ue5-main branch]
2021-04-29 19:32:06 -04:00