Commit Graph

1126 Commits

Author SHA1 Message Date
Joe Kirchoff
eb772f0e8f UnrealBuildTool: Write relative paths in generated pch comments if under the unreal root
#rb trivial
#rnx

[CL 16912334 by Joe Kirchoff in ue5-main branch]
2021-07-21 14:17:44 -04:00
Ben Marsh
68d38bd32d UBT: Fix arguments for Intellisense PCH generation.
[CL 16894546 by Ben Marsh in ue5-main branch]
2021-07-20 07:02:14 -04:00
Ben Marsh
534eb44440 UBT: Include PCH settings in Visual Studio project files for Intellisense parser.
[CL 16883248 by Ben Marsh in ue5-main branch]
2021-07-19 10:11:52 -04:00
jonathan adamczewski
93fddba6cc UEBuildModule:
From UDN 00331538, record PublicPreBuildLibraries in PublicLibraries, not PublicSystemLibraries.

#rb ben.marsh
#jira none
#preflight 60d3a3d73b6163000129ac28

[CL 16764406 by jonathan adamczewski in ue5-main branch]
2021-06-23 18:25:00 -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
Nick Darnell
3f498fa37a UBT - Started seeing "UnrealBuildTool : error : Unhandled exception: System.IO.DirectoryNotFoundException: Could not find a part of the path", turned out to be an issue with checking a folder to make sure it exists before it attempts to add files from that path.
#jira none
#fyi Ben.Marsh
#review-16724834 Ben.Marsh

[CL 16724833 by Nick Darnell in ue5-main branch]
2021-06-20 23:06:22 -04:00
Joe Kirchoff
4395ab0221 UnrealBuildTool: Action Executor that uses async tasks instead of background threads (currently disabled)
#rb none

[CL 16682139 by Joe Kirchoff in ue5-main branch]
2021-06-15 19:38:08 -04:00
Brandon Schaefer
05a2fa3749 Remove debug logging
#jira none
#rb none

[CL 16666749 by Brandon Schaefer in ue5-main branch]
2021-06-14 19:14:45 -04:00
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
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
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
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
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
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
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
jonathan adamczewski
44a6d5481e Move FileItem and DirectoryItem into BuildUtilities
#jira none

[CL 16596289 by jonathan adamczewski in ue5-main branch]
2021-06-08 19:05:33 -04:00
jonathan adamczewski
0af1ea99af Add a common C# method for detecting the current host platform to EpicGames.Core, and move many a test to use that code.
#jira none
#rb joe.kirchoff

[CL 16593582 by jonathan adamczewski in ue5-main branch]
2021-06-08 17:01:23 -04:00
David Harvey
e581358a11 Add HasExplicitPlatforms property to uplugin definitions, allowing the SupportedTargetPlatforms and WhitelistPlatforms fields to be entirely defined in child plugins. The existing functionality means that an empty platform list implies "all platforms".
#jira UECON-417
#rb ben.marsh

[CL 16531379 by David Harvey in ue5-main branch]
2021-06-02 04:27:26 -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