Commit Graph

64 Commits

Author SHA1 Message Date
david harvey
1f3d876003 Add a new TryParseAsMap helper function to read a serialized UPROPERTY TMap into a Dictionary.
#rnx
#rb Josh.Adams

[CL 25865983 by david harvey in ue5-main branch]
2023-06-08 03:49:07 -04:00
joe kirchoff
acacd6a8de UnrealBuildTool: More automated code cleanup
* Use object type rather than var
* Remove double newlines
* Use pattern matching

#rnx
#preflight 647780095d23eca37d28a387

[CL 25706751 by joe kirchoff in ue5-main branch]
2023-05-31 13:37:21 -04:00
joe kirchoff
acf80ab609 [Backout] - CL25694851
[FYI] Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: More automated code cleanup

#rnx

[CL 25695155 by joe kirchoff in ue5-main branch]
2023-05-30 19:55:37 -04:00
joe kirchoff
7ed1a39679 UnrealBuildTool: More automated code cleanup
#rnx

[CL 25694864 by joe kirchoff in ue5-main branch]
2023-05-30 19:36:05 -04:00
joe kirchoff
c04da27b3b UnrealBuildTool: More automated code cleanup
#rnx
#preflight 64767efb4b1ead7c7f428c7a

[CL 25693857 by joe kirchoff in ue5-main branch]
2023-05-30 18:59:32 -04:00
joe kirchoff
36d266e932 UnrealBuildTool: Automated code cleanup
#rnx
#preflight 6476799e947ff6973c225619

[CL 25693241 by joe kirchoff in ue5-main branch]
2023-05-30 18:38:07 -04:00
joe kirchoff
57a8fe409c UnrealBuildTool: Use expression body for simple properties and accessors
#rnx
#preflight 64766abcfe6a3b258a04cb50

[CL 25691579 by joe kirchoff in ue5-main branch]
2023-05-30 18:01:50 -04:00
stephen ma
190d569079 - Fixes NFL + Programs + Platform directories to look in the removed restricted program path, brings structure closer to Engine standard within Restricted Platform folders.
Before:
 "Engine\Restricted\NoRedist\Platforms\{Platform}\Restricted\NotForLicensees\Programs\{Project}Config\{Platform}Engine.ini"
After:
 "Engine\Restricted\NoRedist\Platforms\{Platform}\Programs\{Project}\Config\{Platform}Engine.ini"
- Fixed config paths for Restricted, non-Platform, program ini files (last change had put OPT_SUBDIR in too many places, it's only needed for Restricted Programs Platform files)

#rb Josh.Adams
#preflight 6466f5b775696d2bd71832dc

[CL 25548254 by stephen ma in ue5-main branch]
2023-05-19 13:53:24 -04:00
David Harvey
0d0744a604 Add missing NotNullWhen to config string array TryParse helper function.
#rb trivial
#rnx
#jira none
#preflight 6464b073317ee2d9d12c64fe

[CL 25504694 by David Harvey in ue5-main branch]
2023-05-17 07:07:05 -04:00
bryan sefcik
70f4bd7856 Moved UserDir logic to Unreal.cs and removed duplicate code.
#fyi joe.kirchoff
#preflight 642b30208f078cc7033df071

[CL 24899656 by bryan sefcik in ue5-main branch]
2023-04-03 16:21:25 -04:00
bryan sefcik
3eaa022618 Updated several places in UBT to be thread safe.
#fyi joe.kirchoff
#preflight 641de24b7703a8de3ddb63a7

[CL 24785255 by bryan sefcik in ue5-main branch]
2023-03-24 15:42:24 -04:00
Josh Adams
5eac55ec21 - Fixed location of ini files that are Restricted + Program + PlatformExtension ini files
- Previously it would look in, say, "/Engine/Restricted/NotForLicensees/Programs/UnrealHeaderTool/Platforms/Mac/Config/MacEngine.ini", which breaks the structure of Restricted and Platforms. Now it will look in "/Engine/Restricted/NotForLicensees/Platforms/Mac/Programs/UnrealHeaderTool/Config/MacEngine.ini" which is correct
#rb tim.smith
#preflight 6405fb063206d45d200b7e36

[CL 24521853 by Josh Adams in ue5-main branch]
2023-03-06 09:56:14 -05:00
Joe Kirchoff
db0395ddf7 UnrealBuildTool: Add Editor to ConfigHierarchyType
#rnx
#rb trival
#preflight 63ebe66b346bca0035bd4268

[CL 24219140 by Joe Kirchoff in ue5-main branch]
2023-02-14 15:03:53 -05:00
josh adams
523b4f0318 - Moved a utility function from two (copy/pasted) places into ConfigHierarchy - GetStructKeyValuePairs(), which will return a Dictionary that contains the keys and values from a standard UE struct definition (almost always loaded from a .ini file). Similar in nature to GetStructEntry(), but will entries in the struct
#rb tim.smith
#preflight 6377efaf815e4b9b7564d565

[CL 23212737 by josh adams in ue5-main branch]
2022-11-18 20:39:31 -05:00
joe kirchoff
144ce56048 UnrealBuildTool: Move some util properties to EpicGames.Build
#rnx
#rb trivial
#preflight 6362e8e86000216d2e2b4bdd

[CL 22937953 by joe kirchoff in ue5-main branch]
2022-11-02 23:07:24 -04:00
gary yuan
7e85f4f2ac #jira: none
Fix if conditional logic in TryGetValue for Enum TryParse

#rb Tim.Kennedy
#preflight: 62feeb09d85afae4d4508ddf
[FYI] ben.marsh

[CL 21499938 by gary yuan in ue5-main branch]
2022-08-22 21:22:31 -04:00
tim smith
ab6f014b6d Fix UBT configuration reading code to read the editor per project user setting from the corrected saved file location.
This resolves a UBT issue where building from Visual Studio/Rider while the editor is running wouldn't automatically change to HotReload mode.
#preflight 626698887e06ec75059f44b8
#jira none
#rb Ben.Marsh, Jonathan.Adamczewski
#lockdown mark.lintott

#ROBOMERGE-AUTHOR: tim.smith
#ROBOMERGE-SOURCE: CL 19901402 in //UE5/Release-5.0/... via CL 19902726
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v942-19904256)

[CL 19904470 by tim smith in ue5-main branch]
2022-04-25 12:47:17 -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
Tim Smith
cd07867bf6 1) Adding new collection of UE types into C#
2) Enhancements to StringView and a few other helper classes
3) New UE style ignore case comparison
4) Moved shared UHT definitions into a common C# file.

#rb jonathan.adamczewski
#rnx
#preflight 620e3cdc8b6428e701a24666

[CL 19033446 by Tim Smith in ue5-main branch]
2022-02-17 07:40:56 -05:00
brandon dawson
4b5bbeb44e Change pattern for CustomConfig to support proper platform requirements.
#jira UE-141951
[REVIEW] [at]Ben.Zeigler [at]josh.adams
#preflight 620412bfa65a8a284626227a

#ROBOMERGE-AUTHOR: brandon.dawson
#ROBOMERGE-SOURCE: CL 18923986 in //UE5/Release-5.0/... via CL 18927180 via CL 18928858
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v916-18915374)

[CL 18929291 by brandon dawson in ue5-main branch]
2022-02-09 19:29:09 -05:00
jonathan adamczewski
c7aeb00f62 UnrealBuildTool: Remove various references to UE4.
#jira UE-111420
#trivial
#preflight none

#ROBOMERGE-AUTHOR: jonathan.adamczewski
#ROBOMERGE-SOURCE: CL 18565554 in //UE5/Release-5.0/... via CL 18565574
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18565586 by jonathan adamczewski in ue5-release-engine-test branch]
2022-01-10 16:46:00 -05:00
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -05:00
aurel cordonnier
a6e741e007 Merge from Release-Engine-Staging @ 17915896 to Release-Engine-Test
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17918595 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-25 20:05:28 -04:00
david harvey
c2d487e045 Adding RunUAT command to generate a report from DDPI values.
RunUAT ListPlatformDetails -DDPISection=ShaderPlatform/DataDrivenPlatformInfo


This generates an html report for DataDrivenPlatformInfo.ini files showing the values that are set & unset for all of them for easy comparison.


#jira UECON-467
#rb dave.barrett

#ROBOMERGE-SOURCE: CL 17101900 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v853-17066230)

[CL 17101910 by david harvey in ue5-release-engine-test branch]
2021-08-09 10:09:14 -04:00