Commit Graph

240 Commits

Author SHA1 Message Date
Guillaume Abadie
8f5ff8c1ed Fixes Unhandled exception: System.MissingMethodException: Constructor on type 'UnrealBuildTool.AndroidProjectGenerator' not found when generating project files
Regression seams to be caused by 20373777

#rb none
#fyi Ben.Marsh
#preflight none

[CL 20376229 by Guillaume Abadie in ue5-main branch]
2022-05-26 01:10:57 -04:00
Ben Marsh
cbb950c578 UBT: Use ILogger throughout UBT, rather than legacy EpicGames.Core.Log methods. All output going forwards should use structured logging rather than String.Format style logging.
#preflight 628e9dc6e746de4961f60032

[CL 20373777 by Ben Marsh in ue5-main branch]
2022-05-25 19:55:37 -04:00
Joe Kirchoff
c512a89ace Rename UnrealBuildTool.EngineSourceDirectory -> Unreal.EngineSourceDirectory
#rnx
#rb trivial
#preflight 628e9fdaf622d972b59ebe85

[CL 20372061 by Joe Kirchoff in ue5-main branch]
2022-05-25 17:54:39 -04:00
Tim Smith
eacb7c9f87 Removed the single instance flag for running UHT
#rb self
#rnx
#preflight 6286874f7206b2eb9aa9c208

[CL 20284897 by Tim Smith in ue5-main branch]
2022-05-19 15:00:52 -04:00
Tim Smith
3691e548c9 Moved UHT configuration for C# back to the original location to make installed game deployment less complicated.
#rb self
#rnx
#jira UE-151418
#preflight 62796269242446ce6c642bbf

[CL 20108978 by Tim Smith in ue5-main branch]
2022-05-09 15:23:59 -04:00
Tim Smith
6987021223 Added new deprecation message type and a setting to enable/disable deprecation messages.
#rb self
#rnx
#preflight 62726841d90599edbe3bc48a

[CL 20040082 by Tim Smith in ue5-main branch]
2022-05-04 07:54:36 -04:00
Tim Smith
f813631481 More coding standard fixes
#rnx
#preflight 6270399a645c64f3a2571585

[CL 20014974 by Tim Smith in ue5-main branch]
2022-05-02 16:23:21 -04:00
jonathan adamczewski
b25b8a0d7a UnrealBuildTool: Delete files in parallel when cleaning (adding a few timers)
Cleaning UnrealEngine Development Win64, on a ThreadRipper
Before: 270 seconds
After:   63 seconds

#jira none
#rnx
#preflight 626b29bbb17dd9121b63f219

[CL 19982248 by jonathan adamczewski in ue5-main branch]
2022-04-29 13:53:48 -04:00
Tim Smith
c8b2f7145c Updated implementations with recent changes to C++ UHT.
Changed RigVM type code to use caps system

#rb trivial
#rnx
#preflight 624f41363c2aff69c554ff7b

[CL 19677006 by Tim Smith in ue5-main branch]
2022-04-07 16:12:56 -04:00
jonathan adamczewski
c1bb6901bf Upgrade to .NET 6.0
#jira UE-119846
#preflight 624cbb2ecc0872e96b0d5181

[CL 19652696 by jonathan adamczewski in ue5-main branch]
2022-04-06 14:46:50 -04:00
Tim Smith
26ea2c1d51 Updated the exporter system in UHT to simplify it.
Added some basic support for UBT plugins.

#rb trivial
#rnx
#preflight 6245f7123a5a4c1622d2b55a

[CL 19576500 by Tim Smith in ue5-main branch]
2022-03-31 15:01:31 -04:00
jonathan adamczewski
0a6164bbd3 nullability annotations, rethrow fixes, net6.0 warning suppression
#jira none
#trivial
#rnx
#preflight 62425155c61d8a458f230657

[CL 19536049 by jonathan adamczewski in ue5-main branch]
2022-03-28 20:50:06 -04:00
jonathan adamczewski
5c68d1d9ef Revert //UE5/Main/... changelist 19531725 - return to NET Core 3.1
#preflight 62422fd0470aff98e946bfce
#jira UE-119846

[CL 19534572 by jonathan adamczewski in ue5-main branch]
2022-03-28 18:25:19 -04:00
jonathan adamczewski
18ac15cbb1 Upgrade to .NET 6.0
#jira UE-119846
#preflight 6241fc06470aff98e943c035

[CL 19531725 by jonathan adamczewski in ue5-main branch]
2022-03-28 15:30:56 -04:00
Tim Smith
4f5d1c171d Changed the collection of parsing tables and configuration to be session specific and not a singleton. This is required for plugin support.
#rb none
#rnx
#preflight 623f34e5361866e20fec8e0f

[CL 19521840 by Tim Smith in ue5-main branch]
2022-03-26 12:02:18 -04:00
Tim Smith
18468119c1 Updated UHT in UBT with changes to getter/setter lookup.
Fixed comment issue at the end of function declarations.
Fixed nested include file issue.
Fixed issue with RigVM visible arguments.
Updated NoExportTypes.h to mark two structures as core types.
Fixed type check for bit fields in Getter/Setters.

#rb none
#rnx
#preflight 623daea315497b40c209e1c5

[CL 19510306 by Tim Smith in ue5-main branch]
2022-03-25 08:19:29 -04:00
marc audy
be5732dd4b Generated code for UHT and VNI now stored in separate subfolders of the generated code directory
- so they can be independently wiped
- fix for build errors caused by stale files leftover from moved/renamed UBT module

#rb jonathan.adamczewski, tim.smith
#rnx
#preflight 6238de1704769ab493478dc1

#ROBOMERGE-OWNER: marc.audy
#ROBOMERGE-AUTHOR: markus.breyer
#ROBOMERGE-SOURCE: CL 19458771 via CL 19462083 via CL 19463537 via CL 19475357 via CL 19475717
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v935-19464907)

[CL 19476295 by marc audy in ue5-main branch]
2022-03-23 00:51:39 -04:00
Tim Smith
fd7bf66db5 Added a sample UHT exporter to dump stats.
Add the ability to disable all default exporters.

#rb trivial
#rnx
#preflight 623a1746ca34ffd7bf6f5632

[CL 19470124 by Tim Smith in ue5-main branch]
2022-03-22 14:52:46 -04:00
Ben Marsh
8bfdd6d555 UBT: Tweak how single-file compiles work.
- When a file list is specified, any headers identified via a scan are added to a separate list of files to be compiled. These are always considered optional; since we don't know for sure whether they're part of the target, they are excluded from checks that require a matching binary to be identified for them.
- The -IgnoreInvalidFiles argument doesn't seem to have been working as intended, since the BuildBinaries will already contain all binaries for the target despite claims made in a comment (so bBuildShouldContinue will default to, and remain set to, false).
- While we could fix the logic to filter the binaries built for single-file compiles, it seems simpler to keep the same codepath as regular builds.

#preflight none

[CL 19408219 by Ben Marsh in ue5-main branch]
2022-03-16 13:37:05 -04:00
jonathan adamczewski
760399b892 UnrealBuildTool: Add -SaveCrashDumps option that will attempt to find and copy crash dump files to a specified location.
#jira none
#rnx
#preflight 623104afe50582311ac32ec6

[CL 19396686 by jonathan adamczewski in ue5-main branch]
2022-03-15 17:57:47 -04:00
Tim Smith
681506d35e 1) Fix minor validation issue where TObjectPtr was being denied as a function return type. Also applied to lazy pointers.
2) Fixed TObjectPtr formatting for return value
3) Fixed TMap formatting when template arguments are also templates.
4) Fixed -Test option

#rnx
#rb trivial
#preflight 6230e6be6d230f4cc8ea6f7a

[CL 19391964 by Tim Smith in ue5-main branch]
2022-03-15 15:27:25 -04:00
Tim Smith
76e9046282 Adding a simpler command line option to UHT mode where it will generate the manifest instead of depending on one already being generated. This will greatly simplify testing in the future by allowing A/B testing to be done without the need of building the target (to get the manifest)
#rb trivial
#rnx
#preflight 622272d2945d64b4ec42cf9e

[CL 19273756 by Tim Smith in ue5-main branch]
2022-03-04 15:23:52 -05:00
Tim Smith
2bf67af6e7 UHT in UBT initial version. Currently disabled.
Tested against UnrealEditor, ShooterGame, QAGame, FortniteGame, Lyra, CitySample, and a local project

Ciode review was a preliminary review for a coding style.

#rnx
#rb jonathan.adamczewski, joe.kirchoff
#preflight 6220cfb76f26901529b6514e

[CL 19243710 by Tim Smith in ue5-main branch]
2022-03-03 09:59:05 -05:00
jeff newquist
7dbd77f49a SN-DBS executor improvements
- Prevent the unnecessary scanning of response files
- Prevent the unnecessary scanning and distribution of header files for other platforms
- Add bAllowOverVpn and VpnSubnets XmlConfigFile settings to allow restriction of distribution over VPN
- Utilize ProgressWriter to better mark up progress text as is done with other executor implementations
#jira none
#rb joe.kirchoff
#preflight none

[CL 19208610 by jeff newquist in ue5-main branch]
2022-03-01 17:39:49 -05:00
Joe Kirchoff
a401460469 GenerateClangDatabase: Pass C++ Standard Flag correctly to clang-cl
#jira UE-143479
#rb trivial
#preflight none

[CL 19185790 by Joe Kirchoff in ue5-main branch]
2022-02-28 17:59:19 -05:00