Commit Graph

4268 Commits

Author SHA1 Message Date
David Harvey
a3e5c385b5 Debugger arguments are set up correctly for Windows-based platform extensions
#jira UE-146417, UE-131865
#rnx
#preflight 6239e2dadb0f61c7925d2989
#rb Eric.McDaniel

[CL 19492929 by David Harvey in ue5-main branch]
2022-03-24 05:42:08 -04:00
David Harvey
5214adb5c9 Toolchains can modify the target receipt, for adding custom properties etc.
#jira UE-146417
#rb Eric.McDaniel
#rnx
#preflight 623c393b89625f0612d522fb

[CL 19492903 by David Harvey in ue5-main branch]
2022-03-24 05:32:04 -04:00
Joe Kirchoff
236f98fcc5 UnrealBuildTool: Don't use a remote distribution executor if the total number of actions is less than the number of max local parallel actions
#jira UE-146958
#rb trivial
#preflight 623bb3c688538cd45e263663

[CL 19489660 by Joe Kirchoff in ue5-main branch]
2022-03-23 20:14:29 -04:00
avudnez
a8d559fbad PR #9001: Fix building LiveCodingConsole with clang-cl (Contributed by avudnez)
#rb self
#rnx
#jira UE-146904
#preflight 623b78e4ca34ffd7bf7f9874

[CL 19484226 by avudnez in ue5-main branch]
2022-03-23 15:59:49 -04:00
markus breyer
f2f4745eb2 Removed obsolete module rules property AdditionalCodeGenDirectories
#rb jonathan.adamczewski
#rnx
#preflight 62390b870820efd0948fbc5e

#ROBOMERGE-AUTHOR: markus.breyer
#ROBOMERGE-SOURCE: CL 19461822 via CL 19465279 via CL 19465809 via CL 19475541 via CL 19475821
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v935-19464907)

[CL 19476440 by markus breyer in ue5-main branch]
2022-03-23 01:25:15 -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
dmytro vovk
0eec52c49a Update AutoSDK to NDK r21e
#rb Chris.Babcock

#ROBOMERGE-AUTHOR: dmytro.vovk
#ROBOMERGE-SOURCE: CL 19456537 via CL 19456975 via CL 19458080 via CL 19460873 via CL 19462641 via CL 19462725
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v933-19451510)

[CL 19463646 by dmytro vovk in ue5-main branch]
2022-03-22 00:14:51 -04:00
dmytro vovk
57d3d250c4 Remove bForceCompressNativeLibs Android setting as it's a dublicate of bExtractNativeLibs
#jira none
#rb Chris.Babcock

#ushell-cherrypick of 19456583 by dmytro.vovk
#preflight 6238d24789625f0612a47330

[CL 19457054 by dmytro vovk in ue5-main branch]
2022-03-21 15:54:03 -04:00
Josh Adams
1cac5f0077 - Moved ini struct/map parsing out of Turnkey/WinPlatform to ConfigHierarchy so they can be shared, and used elsewhere
#jira none
#rb brandon.schaefer
#preflight 62352ded48746817f14246b4
#preflight 6238709dc3399da9531164a3

[CL 19450836 by Josh Adams in ue5-main branch]
2022-03-21 08:39:34 -04:00
christopher waters
5b69bb1b18 Adding EpicGames.UHT to the UBT solution.
#jira none
#rb none
#preflight none

[CL 19441979 by christopher waters in ue5-main branch]
2022-03-18 17:53:14 -04:00
mickael gilabert
8fd8151c2e UnrealBuildTool: Add -PackagePath to set destination folder of input files used at link time (normally used to debug a linker crash for platforms that support it)
[REVIEW] [at]joe.kirchoff, [at]jeff.newquist, [at]ryan.hummer
#rnx

#ROBOMERGE-AUTHOR: mickael.gilabert
#ROBOMERGE-SOURCE: CL 19426025 via CL 19426051 via CL 19431658 via CL 19435910 via CL 19436496
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v930-19419903)

[CL 19437798 by mickael gilabert in ue5-main branch]
2022-03-18 13:22:54 -04:00
robert millar
778680c3fc Add XGE config bUnavailableIfInUse to allow falling back to a different executor if XGE is in use.
Add XGE config MinActions to avoid using XGE for small groups of tasks (e.g. single file compile).

#rb jonathan.adamczewski

#ROBOMERGE-AUTHOR: robert.millar
#ROBOMERGE-SOURCE: CL 19413669 via CL 19415283 via CL 19428032 via CL 19428154
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v930-19419903)

[CL 19432532 by robert millar in ue5-main branch]
2022-03-18 02:29:51 -04:00
Joe Kirchoff
82466ed8be UnrealBuildTool: Fix engine modules being filtered out of generated projects when programs should not be added
#jira UE-146426
#rnx
#rb trivial
#preflight 62338ddd0820efd0945ea479

[CL 19427071 by Joe Kirchoff in ue5-main branch]
2022-03-17 17:05:06 -04:00
Joe Kirchoff
0f2cf746d8 UnrealBuildTool: Don't pass /fastfail to link.exe if linking with PGO options
#rnx
#rb trivial
#preflight none

[CL 19426375 by Joe Kirchoff in ue5-main branch]
2022-03-17 16:24:34 -04:00
Joe Kirchoff
588e19c60b UnrealBuildTool: Bump preferred Windows clang verison to 13.
Please note there are still some outstanding runtime issues when building with clang 13 and this is intended to help address them.

#rb trivial
#preflight 623268365932902f935b4fa9

[CL 19414621 by Joe Kirchoff in ue5-main branch]
2022-03-16 18:54:29 -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
dmytro vovk
8cc82453a7 Hide all exportable symbols on Android, except the ones called from Java
#rb Chris.Babcock
#jira none

#ushell-cherrypick of 19397674 by dmytro.vovk
#preflight 62311900f97ce4a80378cfc5

[CL 19398259 by dmytro vovk in ue5-main branch]
2022-03-15 19:10:08 -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
Joe Kirchoff
cd86e301f5 UnrealBuildTool: Add /fastfail to cl.exe & link.exe to enable Windows Error Reporting to save crash dumps. Microsoft noted this won't have any adverse effect when no faults occur.
#rb trivial
#rnx
#preflight 623101cf7b5cb4076890d128

[CL 19396288 by Joe Kirchoff in ue5-main branch]
2022-03-15 17:35:59 -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
chris babcock
3214d9485f Protect against additional configChanges which could terminate an Android application
#jira UE-116891
#android
[REVIEW] [at]Robert.Srinivasiah
#rb Robert.Srinivasiah

#preflight https://horde.devtools.epicgames.com/job/622be75f46679d56c32d8b47
#lockdown Nick.Whiting

#ROBOMERGE-AUTHOR: chris.babcock
#ROBOMERGE-SOURCE: CL 19366087 in //UE5/Release-5.0/... via CL 19366607
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19367967 by chris babcock in ue5-main branch]
2022-03-12 13:41:25 -04:00
chris babcock
be3d52e313 Added UPL registerBuildSettings node to list plugin ini settings that affect packaging
Added registerBuildSettings node to AndroidFileServer UPL

#jira UE-145479
#android
[REVIEW] [at]Robert.Srinivasiah
#rb Robert.Srinivasiah

#preflight https://horde.devtools.epicgames.com/job/622bb4b9902b7ca699dfe337
#lockdown Mitchell.Wilson

#ROBOMERGE-AUTHOR: chris.babcock
#ROBOMERGE-SOURCE: CL 19360716 in //UE5/Release-5.0/... via CL 19361833
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19364204 by chris babcock in ue5-main branch]
2022-03-11 19:02:48 -05:00
jonathan adamczewski
9c4a4792f3 UnrealBuildTool: New option -IgnoreInvalidFiles
When files are specified via -File= -SingleFile= or -FileList=, any file not valid for the target will be ignored.
If no individual files are found for the target, nothing will be built.

#jira none
#preflight 622bdc70ba14a5c27413c4e7
#rnx

[CL 19363943 by jonathan adamczewski in ue5-main branch]
2022-03-11 18:54:51 -05:00
Josh Adams
ed1fb28a68 - New CreateBuild Turnkey command to interactively create builds that can be run now, or saved for later (exposed to Editor Platforms menu)
- Started moving the code that turns ProjectPackagingSettings into BuildCookRun commandline from editor to C# so that we can run scripts without needing to bake out the commandline
- Updated ExecuteBuild to handle some new variables and such (like the new one for importing ProjectPackagingSettings into the commandline dynamically)
- Added ability to update a Default config file in C# (with limited functionality - set value and add array entry, with an enum we can extend later)
- Minor cleanup here and there
#rb david.harvey
#preflight 622b581ddf3960e506cf9a27
#preflight 622bb3f046679d56c3239a8c

[CL 19360380 by Josh Adams in ue5-main branch]
2022-03-11 15:51:57 -05:00