Commit Graph

3827 Commits

Author SHA1 Message Date
Brandon Schaefer
d46249109d Fix AArch64 -> Arm64
#jira none
#rb none

[CL 16660946 by Brandon Schaefer in ue5-main branch]
2021-06-14 13:45:36 -04:00
Brandon Schaefer
da6e2eb1e2 Rename LinuxAArch64 to LinuxArm64
#jira UE-118127
#rb Michael.Sartain
#fyi Marc.Audy, Aurel.Cordonnier

[CL 16660821 by Brandon Schaefer in ue5-main branch]
2021-06-14 13:39:47 -04:00
jeanfrancois dube
50e5591882 UnrealBuildTool: added CppCompileEnvironment.AnalyzeStackSizeWarning to replace hardcoded value of 80K (now defaults to 300K).
Our stack size defaults to 4.7M on Windows, so allowing functions to use more stack space in favor of going through the heap.

#rb steve.robb


#ROBOMERGE-SOURCE: CL 16653849
#ROBOMERGE-BOT: (v834-16658389)

[CL 16659295 by jeanfrancois dube in ue5-main branch]
2021-06-14 11:58:20 -04:00
Joe Kirchoff
75559f7de1 VcPkg: Missing file from last changelist
Remove parameter for field already included in ModuleRules

#rb trivial

[CL 16658786 by Joe Kirchoff in ue5-main branch]
2021-06-14 11:16:07 -04:00
jonathan adamczewski
8d1ebef30a UnrealBuildTool:
Per-project rules assembly csprojen.

Previously: all .build.cs and .target.cs were being grouped into a single project, which resulted in duplicate symbols when trying to build the project.

Now: multiple assemblies csprojs are generated, one for each Engine & Game project. Also, includes preprocessor defines.

#jira none
#rb ben.marsh

[CL 16658600 by jonathan adamczewski in ue5-main branch]
2021-06-14 10:59:59 -04:00
jonathan adamczewski
48dd1912e1 UnrealBuildTool
Adding "using UnrealBuildBase" to some files (submitted separately to make subsequent CLs smaller)

#jira none
#trivial

[CL 16657799 by jonathan adamczewski in ue5-main branch]
2021-06-14 09:25:26 -04:00
David Harvey
876069f28c fix for always-enabled default child plugin whitelists.
#jira UECON-417
#b ben.marsh
#rnx

[CL 16655773 by David Harvey in ue5-main branch]
2021-06-14 04:11:48 -04:00
jonathan adamczewski
b1ec85ea5f ProjectFileGenerator.cs:
Remove redundant list copy

#jira none
#trivial

[CL 16650257 by jonathan adamczewski in ue5-main branch]
2021-06-11 21:12:43 -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
joe kirchoff
b1dbb8de60 UnrealBuildTool: Remove LocalExecutor and use ParallelExecutor for all host platforms
Update ManagedProcess to capture stderr if using C# Process objects

#jira UE-117670
#rb Ben.Marsh

[CL 16647451 by joe kirchoff in ue5-main branch]
2021-06-11 17:19:03 -04:00
jonathan adamczewski
977e566179 UnrealBuildTool/UnrealBuildFiles.csproj:
Create project in its own directory to avoid confusing other builds with UnrealBuildFiles' intermediate files

#jira none

[CL 16646776 by jonathan adamczewski in ue5-main branch]
2021-06-11 16:38:51 -04:00
jonathan adamczewski
2c9fa5c33f UnrealBuildFiles.csproj
Generate UnrealBuildFiles.csproj, a project that contains references to all of the Build.cs and Target.cs files in the solution, and add it to the generated solution.

With this project in the solution, Intellisense is available when editing these files, and the project may be compiled in Visual Studio, providing representative results of what UBT will do with the files (UBT will re-compile the files when it needs to)

Using Visual Studio 2019 16.9.6, adding this project increased memory usage by ~20MB after load (from 540MB to 560MB) for a workspace containing Engine, and two sample games.

#jira none
#rb ben.marsh

[CL 16642908 by jonathan adamczewski in ue5-main branch]
2021-06-11 12:25:47 -04:00
joe kirchoff
adb0960f09 [Backout] - CL16642253
#fyi Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: Remove LocalExecutor and use ParallelExecutor for all host platforms
Update ManagedProcess to capture stderr if using C# Process objects

#jira UE-117670
#rb Ben.Marsh
#preflight 60c2a1d3730f8a000185ae66
#preflight 60c2a5bab1a4a300012ea45d

[CL 16642682 by joe kirchoff in ue5-main branch]
2021-06-11 12:13:57 -04:00
Joe Kirchoff
96db72f088 UnrealBuildTool: Remove LocalExecutor and use ParallelExecutor for all host platforms
Update ManagedProcess to capture stderr if using C# Process objects

#jira UE-117670
#rb Ben.Marsh
#preflight 60c2a1d3730f8a000185ae66
#preflight 60c2a5bab1a4a300012ea45d

[CL 16642253 by Joe Kirchoff in ue5-main branch]
2021-06-11 11:40:36 -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
Chris Babcock
666bdd0ab5 Update to AndroidX
#jira UE-117916
#android
#rb Steve.Smith

[CL 16635021 by Chris Babcock in ue5-main branch]
2021-06-10 21:44:24 -04:00
Michael Noland
66342d3bed UBT: Place non-source/non-config files in Platforms subfolders correctly into their relative folder structure in the project file
#rb josh.adams

[CL 16630055 by Michael Noland in ue5-main branch]
2021-06-10 16:55:47 -04:00
aurel cordonnier
e0ad4e25df Merge from Release-Engine-Test @ 16624776 to UE5/Main
This represents UE4/Main @ 16579691 and Dev-PerfTest @ 16579576

[CL 16625248 by aurel cordonnier in ue5-main branch]
2021-06-10 13:13:24 -04:00
jonathan adamczewski
b646b726e0 UnrealBuildTool:
Add a StringComparison argument to CreateIntermediateTextFile() and require callers to make a decision about the case-sensitivity used when considering whether to re-write a file.

(This is intentionally explicit and verbose at the call-site - we should implement a better solution. This change makes it clear that there is work to be done to be able to simplify the interface and achieve reliable behavior.)

As a first pass, C++ files (headers, cpp files, pch files) will have a case-sensitive comparison (C++ code is, mostly, case sensitive), Linux script files have a case-sensitive comparison (case-sensitive filesystem), and all other files are compared disregarding case - to match pre-existing behavior, and with the desire to not borrow more surprises than necessary.

#jira none

[CL 16616339 by jonathan adamczewski in ue5-main branch]
2021-06-09 19:45:07 -04:00
Alexis Matte
3ad4af7d11 Backout changelist 16519471, interchange worker will not be build by the build system automatically, user will have to build it manually.
#rb none
#jira UE-108125

[CL 16610764 by Alexis Matte in ue5-main branch]
2021-06-09 15:19:06 -04:00
jonathan adamczewski
3f32bcdae6 UnrealBuildTool:
Move StartupTraceListener.cs to BuildUtilities

#jira none

[CL 16608546 by jonathan adamczewski in ue5-main branch]
2021-06-09 13:39:05 -04:00
jonathan adamczewski
64bfd9b3f4 UnrealBuildTool:
Move NativeProjects partially into BuildUtilities - class split to avoid pulling in a larger chain of dependencies.

#jira none

[CL 16608480 by jonathan adamczewski in ue5-main branch]
2021-06-09 13:32:14 -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
Florin Pascu
c0bfb9b358 Build fix Ios/Tvos
#jira none
#rb none

[CL 16603677 by Florin Pascu in ue5-main branch]
2021-06-09 08:38:18 -04:00