Commit Graph

1253 Commits

Author SHA1 Message Date
markus breyer
0a28710e48 UBT detects script source directories more robustly
- besides existence also checks if any script source files are present within

#rb jonathan.adamczewski
#rnx
#preflight 624b1fbff4217035fab7ba5a

#ROBOMERGE-AUTHOR: markus.breyer
#ROBOMERGE-SOURCE: CL 19612224 via CL 19613043 via CL 19613335 via CL 19613472
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19615160 by markus breyer in ue5-main branch]
2022-04-04 17:18:07 -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
chris constantinescu
87b6452bc5 LLT TargetSourceFile - fixes incremental build
#rnx

#ROBOMERGE-AUTHOR: chris.constantinescu
#ROBOMERGE-SOURCE: CL 19548065 in //UE5/Release-Engine-Staging/...
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19560875 by chris constantinescu in ue5-main branch]
2022-03-30 14:16:42 -04:00
chris constantinescu
b36a988848 LowLevelTests manual integration with UBT
#preflight 6243316b3a5a4c1622b33d33
#jira UE-147452
#rnx

#ROBOMERGE-OWNER: chris.constantinescu
#ROBOMERGE-AUTHOR: chris.constantinescu
#ROBOMERGE-SOURCE: CL 19545984 via CL 19546389 via CL 19546396
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19560843 by chris constantinescu in ue5-main branch]
2022-03-30 14:15:11 -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
06600f5b2d TargetDescriptor.cs: Warning suppression
#jira none
#trivial
#rnx
#preflight 6242512bc51908059a9116c8

[CL 19536030 by jonathan adamczewski in ue5-main branch]
2022-03-28 20:47:07 -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
christopher waters
22de0b360d Adding a "deprecation" path for engine includes to allow types to be moved without breaking licensee module builds.
- Non-engine modules/targets will have to specify the "version" of includes via IncludeOrderVersion in TargetRules or ModuleRules.
- This setting will control the value of UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_XXX where XXX is the version of the engine.
- When moving types out of a header, users will need to include the new location of the type in the header it was removed from but only if UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_XXX is set.
- If a target does not change its IncludeOrderVersion to the latest version, UBT will print out a message telling users how to upgrade.
- This change introduces a new set of SharedPCH permutations to make sure modules with older versions get the PCH with UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_XXX set correctly.

#jira none
#rb jonathan.adamczewski, joe.kirchoff
#preflight 623e1d3d196f3ae80b4c37ee

[CL 19518359 by christopher waters in ue5-main branch]
2022-03-25 16:16:30 -04:00
james doverspike
98ba416139 Add option to disable IntelMetricsDiscovery
#ROBOMERGE-OWNER: james.doverspike
#ROBOMERGE-AUTHOR: james.doverspike
#ROBOMERGE-SOURCE: CL 19485685 via CL 19485788 via CL 19487499 via CL 19499010 via CL 19499025
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v936-19480137)

[CL 19501414 by james doverspike in ue5-main branch]
2022-03-24 15:44:33 -04:00
chris constantinescu
ae281656f2 Tests converted from 18848115 made to work multi-platform.
Not all were converted because they were designed for packaged applications whereas low level tests are designed to run as "native" non-packaged applications.
- reporting support for non-desktop platforms, for the moment Catch2 report type "console" is used that is sent to a .out file
- most number of tests possible running multi platform, slower tests excluded on incremental builds
- slow tests are moved to run on the monolithic build
- Catch2 report failure event listener such that Horde detects them as build errors. Must add new Horde matcher for Catch2 failures

#rb Mark.Lintott
#preflight 623c8de389625f0612dabd64

[CL 19498448 by chris constantinescu in ue5-main branch]
2022-03-24 13:28:25 -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
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
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
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
markus breyer
83a1800927 Introduced new property "VersePath" in plugin descriptor and module rules
#rb jonathan.adamczewski, tim.tillotson
#rnx
#preflight 6216ef19104496cff8ae5564

#ROBOMERGE-AUTHOR: markus.breyer
#ROBOMERGE-SOURCE: CL 19224088 via CL 19227926 via CL 19237742 via CL 19237888 via CL 19238470
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19239355 by markus breyer in ue5-main branch]
2022-03-03 01:26:50 -05:00
Josh Adams
1c0cb326a6 - Added PDBPAGESIZE option for monolithic editor configuration, and check the toolchain version to catch unsupported versions
#jira UE-142117
#rb david.harvey
#preflight 621cde3a383b5494aaff1129

[CL 19173260 by Josh Adams in ue5-main branch]
2022-02-28 09:42:21 -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