Commit Graph

947 Commits

Author SHA1 Message Date
ryan hummer
bc091a2279 Fixing duplicate named logger arguments
#rnx
#rb none

[CL 31879136 by ryan hummer in ue5-main branch]
2024-02-28 14:16:07 -05:00
joe kirchoff
93e825cda6 UnrealBuildTool: Share UHT generated files between intermediate invariants
#rnx

[CL 31859397 by joe kirchoff in ue5-main branch]
2024-02-27 19:28:36 -05:00
josh adams
c8415dda96 - Fixed an issue with SubmitTool having wrong output dir
#rb calvin.zheng

[CL 31854693 by josh adams in ue5-main branch]
2024-02-27 17:05:23 -05:00
will brown
c6e94f0400 Fixing compile error with UBT_TARGET_BUILD_PLUGINS undefined in LiveLinkHub
[FYI] Joe.Kirchoff

[CL 31796221 by will brown in ue5-main branch]
2024-02-26 01:53:13 -05:00
joe kirchoff
10b42fe8a3 UnrealBuildTool: Simplify GenerateClangDatabase, support -IncludeHeaders, generate ispc headers first by default
#rnx

[CL 31784645 by joe kirchoff in ue5-main branch]
2024-02-23 19:10:49 -05:00
will brown
89e769075b In editor, optional plugin dependencies need to be compiled enabled or command line enabled otherwise they are ignored. Updated UBT to write out the BuildPlugins names to the target receipt or compiled into the executable.
#rb Joe.Kirchoff, Justin.Marcus
[FYI] Eric.Knapik

[CL 31774544 by will brown in ue5-main branch]
2024-02-23 15:23:25 -05:00
calvin zheng
96cd5f23c3 Fix SlateUGS binary in wrong location
#jira UE-207650
#rb Josh.Adams

[CL 31705729 by calvin zheng in ue5-main branch]
2024-02-21 19:26:28 -05:00
josh adams
c0f2905ce7 - Added a method for Shared build environment builds to have certain modules marked as caring about SDK version overrides for some platforms - if any of those platforms are overridden, the DLL will be written to the project Binaries dir instead of Engine (set bAllowSDKOverrideModulesWithSharedEnvironment = true in a Target.cs)
- Added ability to optionally skip SDK validation when making a Target instance even if we don't want to skip Target validation (used when we make the base UnrealEditor target to compare to project's Editor target - we don't need to manage SDK for that temporary UnrealEditor target).
- ShaderCompileWorker is now BuildEnvironment.UniqueIfNeeded, which will build into the project binaries dir if needed (based on per-project SDK override)
- UnrealPak is marked as not caring about an SDK versions so it can be built along with SCW that does care
- Added $(BinaryDir) variable to UEBuildTarget, etc, for the location of the first Binary in the output binaries
#rb David.Harvey, Joe.Kirchoff

[CL 31661939 by josh adams in ue5-main branch]
2024-02-20 18:39:20 -05:00
joe kirchoff
80bf91a9da UnrealBuildTool: Correctly add project source dir to include path when building a generic target (UnrealEditor, UnrealGame) with a -Project
#jira UE-206908

[CL 31627838 by joe kirchoff in ue5-main branch]
2024-02-19 17:15:43 -05:00
josh adams
ea14a1c312 - Updated the logging for mismatched build settings that require UniqueBuildEnvironment to show the values that don't match
#rb Tim.Smith

[CL 31291509 by josh adams in ue5-main branch]
2024-02-08 10:08:52 -05:00
michael wanderson
442065010d Undo backout CL-31249033
Expose RuntimeDependencies to ToolChain ModifyBuildProducts and LinkFiles methods. This is required to properly bundle DLLs on some platforms.

#Jira UE-199874
#rb David.Harvey

[CL 31277174 by michael wanderson in ue5-main branch]
2024-02-07 18:34:43 -05:00
bob tellez
1b52ec8938 [Backout] - CL31242703
[FYI] michael.wanderson
Original CL Desc
-----------------------------------------------------------------
Expose RuntimeDependencies to ToolChain ModifyBuildProducts and LinkFiles methods. This is required to properly bundle DLLs on some platforms.

#Jira UE-199874
#rb David.Harvey


#changelist validated
#virtualized

[CL 31249061 by bob tellez in ue5-main branch]
2024-02-07 01:15:42 -05:00
michael wanderson
8497503f5a Expose RuntimeDependencies to ToolChain ModifyBuildProducts and LinkFiles methods. This is required to properly bundle DLLs on some platforms.
#Jira UE-199874
#rb David.Harvey


#changelist validated
#virtualized

[CL 31243629 by michael wanderson in ue5-main branch]
2024-02-06 20:39:23 -05:00
joe kirchoff
e294f152e8 UnrealBuildTool: bTreatAsEngine module creates a pch variant, clean up some unneeded logic
#rnx
#rb christopher.waters, henrik.karlsson

[CL 31070432 by joe kirchoff in ue5-main branch]
2024-01-31 17:57:54 -05:00
christopher waters
972531ef7a Report obsolete attributes from referenced modules.
#rb Joe.Kirchoff

[CL 31050541 by christopher waters in ue5-main branch]
2024-01-31 11:30:33 -05: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
will brown
edb945565f Renaming IgnorePluginDependency
[CL 30870303 by will brown in ue5-main branch]
2024-01-24 20:02:21 -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
real-mikhail
708ff99fa1 PR #11345: Fix for rebuilding whole Unreal Engine sources in Rider
#jira UE-204286

[CL 30813249 by real-mikhail in ue5-main branch]
2024-01-23 14:25:03 -05:00
joe kirchoff
1455fc9ca4 UnrealBuildTool: Fix some editorconfig errors
#rnx

[CL 30435211 by joe kirchoff in ue5-main branch]
2023-12-21 18:50:32 -05:00
joe kirchoff
3d60bf9d4f UnrealBuildTool: Split out circular dependency module check out of module creation and into a ValidateModule function that can continue to recurse until a circular dependency is found or the graph is exhaused so the entire graph will be checked and so messages will be emitted for every build of a target even if the makefile is up to date
#rnx

[CL 30417075 by joe kirchoff in ue5-main branch]
2023-12-20 13:33:57 -05:00
steve robb
748356afc6 Made UE_DEPRECATED_MACRO emit errors in MSVC when bWarningsAsErrors=true.
#rb johan.torp
#jira UE-202887
[FYI] ben.marsh

[CL 30411064 by steve robb in ue5-main branch]
2023-12-20 08:53:11 -05:00
martin ridgers
d23e4bb6bd Fix incorrect Receipt.Launch value if there are executable-type runtime dependencies.
The bug was introduced with 17546102. Previously "Launch" would get set to the first suitable BuildProduct entry; the module's binary. But after that change it can get incorrectly set to the last suitable BuildProduct entry if the target doesn't not produce a "-Cmd" suffixed output. Any module (such as Sentry's UE integration [1]) that introduces a RuntimeDependency on .exe files can result in invalid target receipts.

[1] https://github.com/getsentry/sentry-unreal/blob/main/plugin-dev/Source/Sentry/Sentry.Build.cs

#rb Joe.Kirchoff
#rnx

[CL 30408745 by martin ridgers in ue5-main branch]
2023-12-20 02:17:30 -05:00
will brown
e620d0b82c TargetRules can filter referenced plugins to determine if it should be ignored from the build.
#rb Joe.Kirchoff

[CL 30198272 by will brown in ue5-main branch]
2023-12-07 19:34:52 -05:00