Commit Graph

759 Commits

Author SHA1 Message Date
chris constantinescu
1278a26f76 Low level tests further refactoring and test resource deployment
#preflight 626955ed0d4ac78d716eacf0
#rnx

[CL 19941830 by chris constantinescu in ue5-main branch]
2022-04-27 12:36:35 -04:00
Tim Smith
36421e5c91 Minor refactor to UBT plugins.
Added support for props file for UBT plugins.  Needed for packaging of plugins having a ubt plugin

#rnx
#rb trivial
#preflight 62694f6a7f6900cdefa9431c

[CL 19939499 by Tim Smith in ue5-main branch]
2022-04-27 10:30:21 -04:00
chris constantinescu
28111d40fc Redundancy cleanup in UBT Low Level Tests:
- test-specific targets and modules are constructed by RulesAssembly which removes a lot of spaghetti code
- no more excluding the Tests folder by default which is guaranteed to mislead users #fyi Jon.Nabozny
- test compilation in Tests is controlled through WITH_LOW_LEVEL_TESTS
- preparation code for switching tests between Catch2 / TestAutomation Fmwk

Nightly LLT PF 6260431391376845adeb4c40

#rnx
#preflight 62602d50dd47b4ad2173c30b

[CL 19834665 by chris constantinescu in ue5-main branch]
2022-04-20 14:24:59 -04:00
Tim Smith
ee9ae5c66a Adding UBT plugin support currently only used by UHT
#rb jonathan.adamczewski ben.marsh
#preflight 625ff59ace2ef75d47707e74

[CL 19828042 by Tim Smith in ue5-main branch]
2022-04-20 08:27:26 -04:00
jonathan adamczewski
38fae5272b UnrealBuildTool: Use module's ShortName for code generation directory to help avoid overly long paths
Before:
Intermediate/Build/Win64/UnrealEditor/Inc/MaterialShaderQualitySettings/

After:
Intermediate/Build/Win64/UnrealEditor/Inc/MSQS/

#jira none
#rb tim.smith
#rb markus.breyer
#rb joe.kirchoff
#rb ben.marsh
#rnx
#preflight 6244f495dc6183e3f5fc1bfe

[CL 19576163 by jonathan adamczewski in ue5-main branch]
2022-03-31 14:39:37 -04:00
mickael gilabert
469a7e6fcb UBT: Add -CrashDiagnosticDirectory to set where to put crash report files (for platforms that support it)
[REVIEW] [at]jeff.newquist, [at]joe.kirchoff
#rnx

#ROBOMERGE-OWNER: mickael.gilabert
#ROBOMERGE-AUTHOR: mickael.gilabert
#ROBOMERGE-SOURCE: CL 19555896 via CL 19556567 via CL 19557148 via CL 19557163
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19561558 by mickael gilabert in ue5-main branch]
2022-03-30 14:42:23 -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
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
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
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
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
tom noonan
d9b5159d0c Changing UBT VNI warning to be a log rather than a warning
[REVIEW] [at]markus.breyer
#preflight 622662cc9d201d1ecdf29955

#ROBOMERGE-OWNER: marc.audy
#ROBOMERGE-AUTHOR: tom.noonan
#ROBOMERGE-SOURCE: CL 19291953 via CL 19302958 via CL 19304646 via CL 19304944 via CL 19305118
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19347126 by tom noonan in ue5-main branch]
2022-03-10 21:02:35 -05: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
steve robb
805a2231ad New bTCHARIsUTF8 variable added to .Target.cs file to make a target use UTF8CHARs as its TCHARs.
#rb jonathan.adamczewski
#preflight 6218af801d1c5017993b35d6

#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 19144301 via CL 19144308 via CL 19144311 via CL 19146973
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19156226 by steve robb in ue5-main branch]
2022-02-25 16:05:14 -05:00
ryan hummer
f21d77341c Include .ipp files when adding files from include paths
#rnx
#jira UE-143577
#rb
#preflight 6216c0d8476ef5d8a2118fd6

#ROBOMERGE-AUTHOR: ryan.hummer
#ROBOMERGE-SOURCE: CL 19126771 in //UE5/Release-5.0/... via CL 19127040
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19154563 by ryan hummer in ue5-main branch]
2022-02-25 15:19:25 -05:00
jonathan adamczewski
53ce407d65 UnrealBuildTool: Fix breakage due to changed function signature.
#jira none
#trivial
#rnx
#preflight skip

#ROBOMERGE-OWNER: tim.smith
#ROBOMERGE-AUTHOR: jonathan.adamczewski
#ROBOMERGE-SOURCE: CL 19129936 in //UE5/Release-Engine-Staging/...
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19148973 by jonathan adamczewski in ue5-main branch]
2022-02-25 11:23:36 -05:00
jonathan adamczewski
eb1b7b167d UnrealBuildTool: When using bBuildAllModules, ensure dependencies are correctly added for plugins
#preflight 6216e13222019f882b29baf8
#jira UE-143751
#rnx
#rb ben.marsh

#ROBOMERGE-OWNER: tim.smith
#ROBOMERGE-AUTHOR: jonathan.adamczewski
#ROBOMERGE-SOURCE: CL 19128726 in //UE5/Release-5.0/... via CL 19129387
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19147997 by jonathan adamczewski in ue5-main branch]
2022-02-25 10:47:26 -05:00
nick darnell
bf7b035492 Build - Adding additional logging to explain what the enabled and disabled plugins are so there's something to look for.
#jira UE-142781
#preflight 620e5f6c7509be984354ade3
[REVIEW] [at]Brandon.Schaefer

#ROBOMERGE-AUTHOR: nick.darnell
#ROBOMERGE-SOURCE: CL 19074477 in //UE5/Release-5.0/... via CL 19090600
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19135349 by nick darnell in ue5-main branch]
2022-02-24 20:08:27 -05:00
joe kirchoff
68d3b6ae54 [Backout] - CL18683346
#fyi Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: Ensure name suffixes are added if the TargetName is replaced in UEBuildTarget (manually merge due to conflict)

#rnx
#rb none
#preflight 61e9e7f6ab6e1cc028bd372a

[CL 19095177 by joe kirchoff in ue5-main branch]
2022-02-23 13:10:43 -05:00
joe kirchoff
85a12ceb91 [Backout] - CL19094839
#fyi joe.kirchoff
Original CL Desc
-----------------------------------------------------------------
[Backout] - CL18683346
#fyi Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: Ensure name suffixes are added if the TargetName is replaced in UEBuildTarget (manually merge due to conflict)

#rnx
#rb none
#preflight 61e9e7f6ab6e1cc028bd372a

[CL 19094975 by joe kirchoff in ue5-main branch]
2022-02-23 12:59:47 -05:00
joe kirchoff
e876024f01 [Backout] - CL18683346
#fyi Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: Ensure name suffixes are added if the TargetName is replaced in UEBuildTarget (manually merge due to conflict)

#rnx
#rb none
#preflight 61e9e7f6ab6e1cc028bd372a

[CL 19094839 by joe kirchoff in ue5-main branch]
2022-02-23 12:54:09 -05:00
chris constantinescu
c8cb8f0b04 Module-level setup/teardown with the help of source file build order overrides.
- optional alter of source file build order: towards beginning or end
- test build: correctly handle inclusion of special dependencies such as Engine, Editor, CoreUObject and ApplicationCore
- existing tests: add setup and teardown tests that initialize test modules. This causes setup and teardown to be local to module instead of global, which was not the correct way to run tests across multiple modules.

#preflight 62151e43dc0170cfb3649ee8
#rb Jermoe.Delattre

[CL 19076600 by chris constantinescu in ue5-main branch]
2022-02-22 13:52:35 -05:00
robert millar
5811293e2a Add TargetRules.bFNameOutlineNumber as an option to reduce the size of FName by 4 bytes by storing the number in the name table.
Adds a define UE_FNAME_OUTLINE_NUMBER.
Removes of FName, FMinimalName from memory image support. Adds of FMemoryImageName.
Removal of FMinimalName operator<<, all fields made private, size made variable.
All fields of FScriptName made private.
Added console commands for dumping numbered/unnumbered names and stats.

#rb johan.torp

#ROBOMERGE-OWNER: robert.millar
#ROBOMERGE-AUTHOR: robert.millar
#ROBOMERGE-SOURCE: CL 19058026 via CL 19058611 via CL 19058656 via CL 19061727 via CL 19061740 via CL 19064047
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v918-19018356)

[CL 19066701 by robert millar in ue5-main branch]
2022-02-21 02:35:48 -05:00