Commit Graph

122 Commits

Author SHA1 Message Date
david harvey
cb02573ac6 Platform SDKs can select the most appropriate manual SDK where the platform supports side-by-side SDK installs.
- currently only enabled when AutoSDK is configured (i.e. UE_SDKS_ROOT is set)

#jira UE-211151, UE-211152, UE-211153
#rb Josh.Adams, Wojciech.Krywult

[CL 34195340 by david harvey in ue5-main branch]
2024-06-07 05:07:55 -04:00
joe kirchoff
cb41b4cfeb Upgrade bundled dotnet to 8.0.300
* Rename dotnet directories for windows and linux to include architecture

[CL 33980908 by joe kirchoff in ue5-main branch]
2024-05-29 14:12:18 -04:00
joe kirchoff
615c9ed5eb UnrealBuildTool: Add package reference to System.CodeDom needed to compile with .NET 8
#rnx

[CL 33850746 by joe kirchoff in ue5-main branch]
2024-05-22 20:00:42 -04:00
joe kirchoff
5f5a8a703e UnrealBuildTool: Move several helper functions to EpicGames.Build
#rnx

[CL 33815711 by joe kirchoff in ue5-main branch]
2024-05-21 19:32:34 -04:00
joe kirchoff
979ad6df70 sh -> /bin/sh
#rnx

[CL 33440590 by joe kirchoff in ue5-main branch]
2024-05-03 18:39:54 -04:00
henrik karlsson
026b657d49 [UBT]
* Fixed so Classes/Public/Internal/Private includes are only added if there are files directly or indirectly under directory. Change is to make rsp files deterministic even if p4 left empty directories behind

#rb joe.kirchoff

[CL 33206443 by henrik karlsson in ue5-main branch]
2024-04-24 14:08:39 -04:00
joe kirchoff
53d9e6fef5 DirectoryItem.ContainsFiles
#rnx

[CL 33183766 by joe kirchoff in ue5-main branch]
2024-04-23 18:54:58 -04:00
anton dunchev
88714af547 [UBT] Fix data race for platform directories access
#rb Josh.Adams
#tests local UBT
[FYI] Dan.Thompson, Joe.Kirchoff, roman.dzieciol

[CL 32954377 by anton dunchev in ue5-main branch]
2024-04-12 22:05:20 -04:00
joe kirchoff
1b2c47ef8b Shared C#: code cleanup
#rnx

[CL 32599296 by joe kirchoff in ue5-main branch]
2024-03-28 18:37:22 -04:00
joe kirchoff
29d9ecfa9c EpicGames.Shared: Resolve some editorconfig warnings and intellisense suggestions
#rnx
#rb carl.bystrom

[CL 32595931 by joe kirchoff in ue5-main branch]
2024-03-28 17:37:09 -04:00
christopher waters
5f73c920d6 Adding more SDK info logging
- ManageAndValidateSDK() was only writing SDK info to the log for valid platforms and wasn't writing invalid SDK info at all.
- This new invalid SDK logging shouldn't also log about Turnkey setup.
- Making invalid SDK logging more readable and also including context when AutoSDK, etc SDK versions are included.

#rb Joe.Kirchoff, Josh.Adams

[CL 32256943 by christopher waters in ue5-main branch]
2024-03-14 15:57:23 -04:00
joe kirchoff
78e0f030f2 UnrealBuildTool: Move recommended Visual Studio components to json sdk config
#rnx
#rb Josh.Adams

[CL 31667312 by joe kirchoff in ue5-main branch]
2024-02-20 20:27:45 -05:00
josh adams
da3af1049d - Removed debug spam
#rb josh.adams

[CL 31526668 by josh adams in ue5-main branch]
2024-02-15 13:29:44 -05:00
josh adams
878b6482da - Redid how some of the "non-supported platform SDKs" are managed to avoid edge cases.
- Disabled VisionOS on Windows to reduce confusion that it might work for launch on
#jira UE-206988
#rb josh.adams

[CL 31525680 by josh adams in ue5-main branch]
2024-02-15 13:11:06 -05:00
josh adams
6e69f6c890 - Fixed an issue with VisionOS missing SDK.json on WIndows. This is a stopgap method, but removes a crash
#jira UE-206834
#rb josh.adams


#changelist validated
#virtualized

[CL 31477879 by josh adams in ue5-main branch]
2024-02-14 11:49:05 -05:00
josh adams
da536f25a7 - Fixed a static analysis C# issue
#rb josh.adams

[CL 31456322 by josh adams in ue5-main branch]
2024-02-13 19:48:10 -05:00
josh adams
480c53a75c - Fixed Mac and maybe Linux with new SDK.json changes
#rb josh.adams

[CL 31451747 by josh adams in ue5-main branch]
2024-02-13 17:54:31 -05:00
josh adams
67d747d50a - Moved all versions from *SDK.Versions.cs files to *_SDK.json files
- Some static variables made it tricky, so added some support to make it simpler on users of the static variables
#rb David.Harvey

[CL 31431441 by josh adams in ue5-main branch]
2024-02-13 11:51:53 -05:00
joe kirchoff
08efabbd57 EpicGames.Build: Remove ThirdParty/MSBuild by replacing glob usage with Microsoft.Extensions.FileSystemGlobbing
#rnx
#rb Ryan.Hummer, Tim.Smith

[CL 30254326 by joe kirchoff in ue5-main branch]
2023-12-11 19:50:16 -05:00
josh adams
e94ead8457 - Replaced System.Environment.MachineName (and System.Net.Dns.GetHostName()) with Unreal.MachineName, since Environment.MachineName is capped at 15 characters, and not every machine name is that short. Uses System.Net.Dns.GetHostName() internally unless is throws an exception, then it falls back to Env.MachineName
#rb adam.kinge, joe.kirchoff

[CL 29712082 by josh adams in ue5-main branch]
2023-11-14 09:40:24 -05:00
joe kirchoff
22cdb0b04a UnrealBuildTool: Clean up IsBuildMachine checks
#rnx

[CL 27019595 by joe kirchoff in ue5-main branch]
2023-08-10 20:59:28 -04:00
joe kirchoff
c44fc5fd4a UnrealBuildTool: Print action groups in parallel executor when building multi target
#rnx

[CL 27006666 by joe kirchoff in ue5-main branch]
2023-08-10 15:38:17 -04:00
ryan hummer
b8460946bc Change UnrealBuildException to print as errors
* Give it a unique exit code
* And introduce a new output format MinimalError to give minimal info output, but as an error

#rnx
#jira UE-191956
#rb joe.kirchoff, marc.audy, bryan.johnson

[CL 26823591 by ryan hummer in ue5-main branch]
2023-08-03 15:42:02 -04:00
Josh Adams
cb55033c0a - Disallow SDK.json reading if the platform isn't enabled on the platform
- If no DDPI.ini exists, mark the SDK as not usable on the platform (default the UEBuildPlaformSDK to disabled until the DDPI.ini file is read)
#rb joe.kirchoff
#jira UE-189549

[CL 26271235 by Josh Adams in ue5-main branch]
2023-06-27 17:19:49 -04:00
josh adams
305c260069 - Moved SDK versions (MainVersion and Min/Max SDK version) from C# strings to SDK.json files in the Platform's Config folder
- Allow for per-project override in a project's platform's config folder (this is merging with my other work on per-project SDKs and validation of multi-target builds)
- More versions will move over after this
#rb david.harvey

[CL 26150552 by josh adams in ue5-main branch]
2023-06-21 11:21:01 -04:00