Commit Graph

167 Commits

Author SHA1 Message Date
bryan johnson
4e25a1e379 [Backout] - CL31475985
[FYI] christopher.waters
Original CL Desc
-----------------------------------------------------------------
Clang fixes
- Getting the UnrealVS "Preprocess single file" working with clang compiles.
- Making the "Preprocess single file" result filename match the source file's name to match VSSpecificFileAction.
- Making sure .h files are compiled correctly when using things like -IncludeHeaders

#jira UE-188612
#rb joe.kirchoff

[CL 31586666 by bryan johnson in ue5-main branch]
2024-02-16 18:44:57 -05:00
christopher waters
7cab798fab Clang fixes
- Getting the UnrealVS "Preprocess single file" working with clang compiles.
- Making the "Preprocess single file" result filename match the source file's name to match VSSpecificFileAction.
- Making sure .h files are compiled correctly when using things like -IncludeHeaders

#jira UE-188612
#rb joe.kirchoff

[CL 31477299 by christopher waters in ue5-main branch]
2024-02-14 11:41:02 -05:00
joe kirchoff
a8e9572942 UnrealBuildTool: Ignore system paths when analyzing with PVS-Studio rather than just ThirdParty paths
#rnx

[CL 30444445 by joe kirchoff in ue5-main branch]
2023-12-22 16:18:30 -05:00
eric knapik
1a9a58ae9b Build the .target file when using the -SkipBuild command in UBT.
The target file can be safely made without doing this through the command:
.\RunUBT.bat -Mode=WriteMetadata "-Input=D:\Main\FortniteGame\Intermediate\Build\Win64\x64\FortniteServer\Development\TargetMetadata.dat" -Version=2

this means there's not a known limiting reason to not build the TargetMetadata.dat

[REVIEW] [at]Joe.Kirchoff [at]Zousar.Shaker

#rb Joe.Kirchoff

[CL 30296544 by eric knapik in ue5-main branch]
2023-12-13 12:43:39 -05:00
joe kirchoff
a53cde6a68 UnrealVS: Fix compile single file for external project
Show additional target.cs files

#jira UE-196978
#jira UE-196952

[CL 29899924 by joe kirchoff in ue5-main branch]
2023-11-22 17:41:35 -05:00
joe kirchoff
1a5a20811f UnrealBuildTool: Fix not building files in override paths with -SingleFile
#rnx

[CL 29193865 by joe kirchoff in ue5-main branch]
2023-10-27 15:43:55 -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
christopher waters
cabaf593a1 NonUnity command line arguments should be per-target while build configuration XML settings should be global.
#rb joe.kirchoff

[CL 26590366 by christopher waters in ue5-main branch]
2023-07-25 17:44:34 -04:00
christopher waters
47426db352 Adding UnrealIntermediateEnvironment to allow different intermediate paths based on build settings.
This removes the old hack that renames the target based on nonunity being set while also adding a new intermediates folder for IWYU.

#jira UE-190274
#rb joe.kirchoff

[CL 26514944 by christopher waters in ue5-main branch]
2023-07-21 12:08:09 -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
tim smith
cf626105dd 1) Replaced bCanCache with new artifact mode flags
2) Added support in artifacts for relative paths
3) Modified ISPC header generation to be cached

At this time, only MSVC compiles are cached and -deterministic must be specified when building.

#rb josh.adams
#preflight 6470a172054af2576a2bd4b9

[CL 25647092 by tim smith in ue5-main branch]
2023-05-26 12:48:45 -04:00
tim smith
22562c2f2c Added the ability to log artifact cache misses.
#rb self
#preflight 6464c4c82d446eac96bbd7c2

[CL 25507081 by tim smith in ue5-main branch]
2023-05-17 10:33:55 -04:00
tim smith
c4e58dd394 Implementation of the action artifact cache.
#rb ben.marsh
#preflight 645a299fa73096fab761de62

[CL 25386005 by tim smith in ue5-main branch]
2023-05-09 08:29:47 -04:00
tim smith
e32f741420 1) Addition of the artifact interfaces
2) Moved common code from executors into an immediate action queue.
3) Added support in the immediate action queue to read/write artifacts

#rb joe.kirchoff
#preflight 6454f3c5ed7ffaa0f5b2fbfa

[CL 25355149 by tim smith in ue5-main branch]
2023-05-05 11:19:57 -04:00
Ben Marsh
3889217961 UBT: Merging CL 25121561 to support async ToolMode and ActionExecutor instances.
#preflight none

[CL 25121660 by Ben Marsh in ue5-main branch]
2023-04-19 21:44:13 -04:00
Joe Kirchoff
78cc2f35ee UnrealBuildTool: Fix issue where -SingleFile was writing a makefile without linked outputs
#preflight 641ce79f974dfaa53cb33439

[CL 24770594 by Joe Kirchoff in ue5-main branch]
2023-03-23 20:04:28 -04:00
Joe Kirchoff
0846b9bf69 UnrealBuildTool: Only -SingleFile compile files if they are included in the target. Requires storing the header list in the makefile
#rnx
#rb Josh.Adams
#rb Henril.Karlsson
#preflight 64125819bf53fdee19bbc593

[CL 24665702 by Joe Kirchoff in ue5-main branch]
2023-03-15 20:07:14 -04:00
Joe Kirchoff
f5ea54cb70 UnrealBuildTool: Don't -SingleFile compile a file that doesn't exist such as a file open for delete
#rnx
#preflight 640f57c428026468d94788a6

[CL 24615618 by Joe Kirchoff in ue5-main branch]
2023-03-13 13:10:29 -04:00
Joe Kirchoff
eb868d8709 UnrealBuildTool: Fix issues with Modified Files Only compiles
#rnx
#rb tivial
#preflight 640294741d304a5471217842

[CL 24511169 by Joe Kirchoff in ue5-main branch]
2023-03-03 19:51:51 -05:00
henrik karlsson
fcb86aef13 [UnrealBuildTool]
* Change so SingleFile will not build dependents by default. This can be enabled with -SingleFileBuildDependents

#preflight skipped
#rb joe.kirchoff

[CL 24344617 by henrik karlsson in ue5-main branch]
2023-02-21 13:37:57 -05:00
henrik karlsson
dceb9f0713 [UnrealBuildTool]
* Fixed so -SingleFile includes running prereq actions if they are not up to date.

#preflight skipped
#rb joe.kirchoff
#jira none

[CL 24239919 by henrik karlsson in ue5-main branch]
2023-02-15 15:31:40 -05:00