Commit Graph

191 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
a20c9fbb9e UnrealBuildTool: Format documents, remove and sort usings
#rnx

[CL 32700883 by joe kirchoff in ue5-main branch]
2024-04-03 12:22:43 -04:00
joe kirchoff
e895acc0bb UnrealBuildTool: Resolve IDE0018, IDE0019, IDE0034, IDE0038, IDE0041, IDE0054, IDE0057, IDE0074, IDE0090
#rnx

[CL 32686487 by joe kirchoff in ue5-main branch]
2024-04-02 19:54:03 -04:00
joe kirchoff
59132bd61b UnrealBuildTool: Move module and plugin validation out of BuildAsync and cleanup warnings
#rnx

[CL 30892598 by joe kirchoff in ue5-main branch]
2024-01-25 13:11:34 -05:00
joe kirchoff
35d70f36f6 [Backout] - CL30856930
[FYI] Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: Move module and plugin validation out of BuildAsync and cleanup warnings

#rnx

[CL 30862164 by joe kirchoff in ue5-main branch]
2024-01-24 16:27:47 -05:00
joe kirchoff
e239cfaa22 UnrealBuildTool: Move module and plugin validation out of BuildAsync and cleanup warnings
#rnx

[CL 30857045 by joe kirchoff in ue5-main branch]
2024-01-24 14:40:33 -05:00
joe kirchoff
46eab319e3 UnrealBuildTool: Add the ability to disable debugging info for select modules and plugins via TargetRules configuration
Obsolete bDisableDebugInfo and replace with TargetRules.DebugInfo which is a flags enum DebugInfoMode. TargetRules.DebugInfo can be set to any or all of [Engine, EnginePlugins, Project, ProjectPlugins], whichever flags are set will have debug info enabled for the modules in those groups if the Target would otherwise has debug info enabled
* DebugInfoMode.None is equalivant to bDisableDebugInfo=true (-NoDebugInfo will still set this)
* DebugInfoMode.ProjectOnly = Project | ProjectPlugins
* DebugInfoMode.EngineOnly = Engine | EnginePlugins
* DebugInfoMode.Full = Engine | EnginePlugins | Project | ProjectPlugins
* DebugInfoMode.Full is equalivant to bDisableDebugInfo=false (the current default)
Add TargetRules.DisableDebugInfoModules, this is a list of module names that should disable debug info regardless of TargetRules.DebugInfo
Add TargetRules.DisableDebugInfoPlugins, this is a list of plugin names that should disable debug info for all of their modules regardless of TargetRules.DebugInfo

[CL 28544448 by joe kirchoff in ue5-main branch]
2023-10-06 12:28:59 -04:00
daniel lamb
3e286ea58e Linux can now be cooked on windows platforms without the sdk installed.
Added override cook platform for use by content beacon to the datadrivenplatforminfo.
[REVIEW] [at]Josh.Adams

[CL 28223391 by daniel lamb in ue5-main branch]
2023-09-26 09:13:27 -04:00
jeff fisher
46724f146f UE-195321 InternalncludePaths typo (missing I on Include)
#jira UE-195321
#rb Francis.Hurteau

[CL 27834268 by jeff fisher in ue5-main branch]
2023-09-13 11:55:50 -04:00
joe kirchoff
f5b1ae85ab Fix PATH separator on non-Windows platforms
#rnx
#jira UE-190551
#rb Ryan.Hummer

[CL 26469790 by joe kirchoff in ue5-main branch]
2023-07-19 16:32:44 -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
josh adams
022c45da8b - Disabled the per-project SDK initialization, as it's causing TargetRules to get created early when using -TargetType, which causes problems
#rb trivial

[CL 25810324 by josh adams in ue5-main branch]
2023-06-05 23:25:26 -04:00
josh adams
f6381544e2 - Allow a project to override the Main SDK version for a platform (the platform's project Engine.ini would set
[OverrideSDK]
  SDKVersion=x.y.z
and AutoSDK, or anything using GetMainVersion(), would use that version string instead
- If multiple targets are built in one run of UBT/UAT, it will error out because there is no support to switch SDKs (and builds happen in parallel, etc)
- This is not a complete solution, because it can cause problems with shared tools like ShaderCompileWorker, when different projects are on different SDKs and they have one SCW to share
- Renamed GetMainVersion to GetMainVersionInternal(), and wrapped that in a new non-vitual GetMainVersion() that calls GetMainVersionInternal() (and handles the ini overrides)
#rb david.harvey,dave.barrett
#jira UE-185364
#preflight 647a12e7b0670733186c928e

[CL 25767233 by josh adams in ue5-main branch]
2023-06-02 13:42:59 -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
Josh Adams
14dd90af80 - Added support for -architecture=Host to override other settings and use whatever architecture is running UBT
- Added UnrealArch.Host, which can be used to determine the current platform's  current architecture (Windows would have to add support if it supports running on Arm64)
#rb tim.smith
#preflight 64678c157958f15a8b7f5086

[CL 25544948 by Josh Adams in ue5-main branch]
2023-05-19 10:59:01 -04:00
Joe Kirchoff
2a261c113d EpicGames.Core: Obsolete ReadOnlyHashSet in favor of IReadOnlySet
#rb Ben.Marsh
#preflight 641e1145a86ae7cbcc86bc53

[CL 24789316 by Joe Kirchoff in ue5-main branch]
2023-03-24 17:59:47 -04:00
Joe Kirchoff
90760d72b0 UnrealBuildTool: Fix output typo
#preflight skipped

[CL 24550420 by Joe Kirchoff in ue5-main branch]
2023-03-07 18:05:10 -05:00
joe kirchoff
a6e3258893 UnrealBuildTool: If module valdiation is set to Error, raise an exception if any errors are found
#rnx
#jira UE-177808

[CL 24452688 by joe kirchoff in ue5-main branch]
2023-02-28 17:08:32 -05:00
Joe Kirchoff
ddcb912fe5 UnrealBuildTool: Remove CanUseParallelExecutor as it is no longer needed as the UAT ParallelExecutor has been removed and is obsolete.
#rnx
#rb trivial
#preflight 63fe749add78dd50f6247b02

[CL 24452546 by Joe Kirchoff in ue5-main branch]
2023-02-28 17:01:41 -05:00
joe kirchoff
606c42edeb Module include path validation. Disabled until outstanding issues are fixed
#rnx
#jira UE-177808
#rb Tim.Smith

[CL 24412746 by joe kirchoff in ue5-main branch]
2023-02-24 19:01:37 -05:00