Commit Graph

1715 Commits

Author SHA1 Message Date
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
sergio gardeazabal
c75f24913f [ChaosVD] Fix CIS issue in Headless Chaos
The issue is happening because CVD support is enabled but UE trace is disabled therefore some methods are still compiled out. This change makes sure CVD code is compiled out if UE trace is also compiled out because CVD depends on it.

#jira UE-204859
[FYI] Benn.Gallagher

[CL 30877818 by sergio gardeazabal in ue5-main branch]
2024-01-25 00:06:21 -05:00
will brown
18dfa05a0a Fixing compile error due to rename of IgnorePluginDependency
[CL 30871438 by will brown in ue5-main branch]
2024-01-24 20:22:48 -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
7082591a99 UnrealBuildTool: Improve cycle route when circular dependencies are found
#rnx

[CL 30693890 by joe kirchoff in ue5-main branch]
2024-01-18 15:10:00 -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
f9b0ed8e85 UnrealBuidTool: ModuleRules cleanup pt.3
#rnx

[CL 30434786 by joe kirchoff in ue5-main branch]
2023-12-21 17:54:31 -05:00
joe kirchoff
c7a07a7d89 UnrealBuildTool: ModuleRules cleanup pt.2
#rnx

[CL 30434402 by joe kirchoff in ue5-main branch]
2023-12-21 17:38:34 -05:00
joe kirchoff
866d76230c UnrealBuildTool: ModuleRules cleanup pt.1
#rnx

[CL 30433894 by joe kirchoff in ue5-main branch]
2023-12-21 17:02:45 -05:00
joe kirchoff
1e0f148525 UnrealBuildTool: cleanup BuildConfiguration
#rnx

[CL 30432576 by joe kirchoff in ue5-main branch]
2023-12-21 15:08:11 -05:00
joe kirchoff
108ecd4b28 UnrealBuildTool: Mark an obsolete TargetRule as Deprecated
#rnx

[CL 30424330 by joe kirchoff in ue5-main branch]
2023-12-20 19:50:51 -05:00
joe kirchoff
5f536eaad9 UnrealBuildTool ModuleRulesContext.cs cleanup
#rnx

[CL 30423009 by joe kirchoff in ue5-main branch]
2023-12-20 18:14:22 -05:00
joe kirchoff
3c7ba92612 UnrealBuildTool: ModuleRules cleanup pt. 1
#rnx

[CL 30422560 by joe kirchoff in ue5-main branch]
2023-12-20 17:54:40 -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
joe kirchoff
2ccf3f04b3 UnrealBuildTool: TargetRules cleanup
* Change (most) fields to properties
* Naming rule fixes for local variables
* Remove unnecessary default values
* Move ReadOnlyTargetRules to new file
* Remove RequiresUniqueBuildEnvironment from obsolete properties
* Document formatting

#rnx

[CL 30415265 by joe kirchoff in ue5-main branch]
2023-12-20 12:39:13 -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
matt johnson
19a5270ad5 UBT: add "bVcRemoveUnreferencedComdat" ModuleRules property to control whether /Zc:inline is enabled with MSVC
#rb Joe.Kirchoff

[CL 30329213 by matt johnson in ue5-main branch]
2023-12-14 15:09:30 -05:00
joe kirchoff
fd9000041f UnrealBuildTool: Support -LoadTargets for Querying available targets that will load each Target.cs so the actual list of supported platforms and configurations can be returned
#rnx

[CL 30253853 by joe kirchoff in ue5-main branch]
2023-12-11 19:20:58 -05:00
joe kirchoff
64138fc204 UnrealBuildTool: Ensure FileInlineGenCPPMap is set for the module compile environment
[CL 30218610 by joe kirchoff in ue5-main branch]
2023-12-08 15:30:50 -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
yiliang siew
36b63b4a46 Making changes so that VerseVM will compile without the WITH_VERSE_VM macro being defined normally,
and also removing the escape hatch for "the source file must include the header of the same name" and
just including the superfluous header files for now to silence UBT warnings.

#rb Tim.Smith
#rb Tim.Smith
[FYI] Joe.Kirchoff
[FYI] Chris.Waters

[CL 30196956 by yiliang siew in ue5-main branch]
2023-12-07 19:05:24 -05:00