Commit Graph

927 Commits

Author SHA1 Message Date
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
josh adams
0ae7bb4007 [Backout] - CL30103804
[FYI] alex.kahn
Original CL Desc
-----------------------------------------------------------------
[Backout] - CL30097541 - CIS Warning
[FYI] Josh.Adams
Original CL Desc
-----------------------------------------------------------------
- Added a new TargetBuildEnvronment - UniqueIfNeeded. This will use Shared if possible, but if a property that requires unique environment, of a project has overridden an SDK version, Unique will beused instead
#rb joe.kirchoff

[CL 30118373 by josh adams in ue5-main branch]
2023-12-05 10:00:51 -05:00
alex kahn
3a28b419ea [Backout] - CL30097541 - CIS Warning
[FYI] Josh.Adams
Original CL Desc
-----------------------------------------------------------------
- Added a new TargetBuildEnvronment - UniqueIfNeeded. This will use Shared if possible, but if a property that requires unique environment, of a project has overridden an SDK version, Unique will beused instead
#rb joe.kirchoff

[CL 30103827 by alex kahn in ue5-main branch]
2023-12-04 19:40:01 -05:00
josh adams
41853b01e6 - Added a new TargetBuildEnvronment - UniqueIfNeeded. This will use Shared if possible, but if a property that requires unique environment, of a project has overridden an SDK version, Unique will beused instead
#rb joe.kirchoff

[CL 30097554 by josh adams in ue5-main branch]
2023-12-04 17:25:57 -05:00
joe kirchoff
af96721cd2 UnrealBuildTool: Don't allow post-build scripts to run with UBA as they can run anything
#rnx

[CL 29867699 by joe kirchoff in ue5-main branch]
2023-11-21 12:00:22 -05:00
joe kirchoff
cdd9a5989b UnrealBuildTool: Move common action properties for CreateRecursiveAction to be shared
#rnx

[CL 29853876 by joe kirchoff in ue5-main branch]
2023-11-20 17:55:29 -05:00
jeremie roy
f7e6f57e1c Allow adding optional plugin build dependencies using a target.cs file
#rb joe.kirchoff

[CL 29694706 by jeremie roy in ue5-main branch]
2023-11-13 16:26:25 -05:00
joe kirchoff
a539e87e0b UnrealBuildTool: Rename Posix group to PosixOS
#rnx

[CL 29660060 by joe kirchoff in ue5-main branch]
2023-11-10 18:14:33 -05:00
joe kirchoff
74ad522d1b UnrealBuildTool: Add Posix platform group which includes Linux and Mac platforms
[CL 29659271 by joe kirchoff in ue5-main branch]
2023-11-10 17:59:16 -05:00
grant medine
6689fc1065 [Backout] - CL29577197
[FYI] Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: Move common action properties for CreateRecursiveAction to be shared

#rnx

[CL 29600550 by grant medine in ue5-main branch]
2023-11-09 12:21:13 -05:00
joe kirchoff
cdbaccc808 UnrealBuildTool: Move common action properties for CreateRecursiveAction to be shared
#rnx

[CL 29577504 by joe kirchoff in ue5-main branch]
2023-11-08 17:51:38 -05:00
joe kirchoff
73a6de9a05 UnrealBuildTool: Box -> UBA. Command line args are doubled up until all usage can be updated
#rnx

[CL 29570778 by joe kirchoff in ue5-main branch]
2023-11-08 14:48:41 -05:00
ryan hummer
d0ba88a2d6 Disable WriteMedataAction running through Box
speculative fix for a failure

#rnx
#rb none

[CL 29546841 by ryan hummer in ue5-main branch]
2023-11-07 20:55:36 -05:00
jeremie roy
91accfeb2a Add option to build dependant plugins when building a foreign plugin in ubt
#rb joe.kirchoff

[CL 29487913 by jeremie roy in ue5-main branch]
2023-11-06 10:09:21 -05:00
joe kirchoff
3003194bcf UnrealBuildTool: Fix force includes for querymode, outputing intermediate files to a separate directory
#rnx

[CL 29300974 by joe kirchoff in ue5-main branch]
2023-10-31 20:34:12 -04:00
joe kirchoff
8f17da3353 UnrealBuildTool: If there is an exeception validating TargetRules, print any upgrade warnings as those settings are probably related
#rnx

[CL 29245074 by joe kirchoff in ue5-main branch]
2023-10-30 15:36:02 -04:00
joe kirchoff
0496d181a8 UnrealBuildTool: -GenFiles arg to QueryMode
#rnx

[CL 29153873 by joe kirchoff in ue5-main branch]
2023-10-26 18:26:39 -04:00
joe kirchoff
17ecf15b84 UnrealBuildTool: Move VNIExecution task to async function
#rnx

[CL 29151617 by joe kirchoff in ue5-main branch]
2023-10-26 17:39:20 -04:00
joe kirchoff
c3d0340c41 UnrealBuildTool: Don't mark additional buildproducts as executables, only the main target outputs should be marked as such
#rnx

[CL 28843571 by joe kirchoff in ue5-main branch]
2023-10-17 13:01:42 -04:00
mastercoms
4e0b9a7faa PR #10774: Add target rule for ALLOW_CONSOLE_IN_SHIPPING define
#jira UE-193400

[CL 28732376 by mastercoms in ue5-main branch]
2023-10-12 17:56:08 -04:00
joe kirchoff
b0b17403e5 UnrealBuildTool: Don't allow using a separate UnrealIntermediateEnvironment folder for installed engine as the intermediate path needs to always match
#jira UE-194825

[CL 28720801 by joe kirchoff in ue5-main branch]
2023-10-12 14:36:00 -04:00