Commit Graph

25 Commits

Author SHA1 Message Date
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
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
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
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
james singer
ad5c1243b0 Fix for packaging failure on linux when project path contains a space character
#jira UE-175937
#rb [at]brandon.schaefer, [at]calvin.zheng
#preflight 63dd6cae78716a01e820892e

[CL 24009725 by james singer in ue5-main branch]
2023-02-04 00:33:10 -05:00
henrik karlsson
8c4b56c12b [UBT]
* ActionGraphBuilder - Added AllowAsync parameter to CreateIntermediateTextFile which defaults to true.
* UEBuildModuleCPP - Added AllowAsync false to one place where the code touches the file after CreateIntermediateTextFile has been called
* UEBuildModuleCPP - Changed so code writing LiveCodingInfo.json is using same path as others when it comes to writing files

#preflight 63d86264ec3d1af440d22e35
#rb joe.kirchoff

[CL 23924077 by henrik karlsson in ue5-main branch]
2023-01-31 01:28:52 -05:00
slonopotamus
f4d390d23e PR #9932: Fix action graph copy action on non-Windows platforms (Contributed by slonopotamus)
#preflight 63cb3ca4544e5bb07540957c

[CL 23801497 by slonopotamus in ue5-main branch]
2023-01-20 20:27:54 -05:00
UnrealBot
73409369c0 Branch snapshot for CL 21319338
[CL 21319338 in ue5-main branch]
2022-08-10 16:03:37 +00:00
Ben Marsh
cbb950c578 UBT: Use ILogger throughout UBT, rather than legacy EpicGames.Core.Log methods. All output going forwards should use structured logging rather than String.Format style logging.
#preflight 628e9dc6e746de4961f60032

[CL 20373777 by Ben Marsh in ue5-main branch]
2022-05-25 19:55:37 -04:00
Joe Kirchoff
c512a89ace Rename UnrealBuildTool.EngineSourceDirectory -> Unreal.EngineSourceDirectory
#rnx
#rb trivial
#preflight 628e9fdaf622d972b59ebe85

[CL 20372061 by Joe Kirchoff in ue5-main branch]
2022-05-25 17:54:39 -04:00
jonathan adamczewski
8d3586155f UnrealBuildTool: Quote dll path when launching ubt from ubt
#preflight 61fc66ab2839dd07cb7f6ac0
#jira UE-141259
#jira UE-140605
#jira UE-140465

#rb joe.kirchoff

#rnx

#ROBOMERGE-AUTHOR: jonathan.adamczewski
#ROBOMERGE-SOURCE: CL 18856801 in //UE5/Release-5.0/... via CL 18856827 via CL 18857048
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18857064 by jonathan adamczewski in ue5-main branch]
2022-02-03 19:28:26 -05:00
jack porter
8a9ec520ce Fix iOS C++ projects from Windows installed builds
Use Windows UBT on remote Mac when using remote toolchain
#jira UE-139847
#rb Josh.Adams
#preflight https://horde.devtools.epicgames.com/job/61f0e74dff453b751b51f5f5
[FYI] josh.adams

#ROBOMERGE-AUTHOR: jack.porter
#ROBOMERGE-SOURCE: CL 18735451 in //UE5/Release-5.0/... via CL 18735453 via CL 18735540
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18735558 by jack porter in ue5-main branch]
2022-01-26 10:23:38 -05:00
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00
jonathan adamczewski
79aed20146 UnrealBuildTool:
Support for writing files directly as lines, without converting to a single string first.

#jira none
#rb joe.kirchoff

#ROBOMERGE-SOURCE: CL 17162046 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17162059 by jonathan adamczewski in ue5-release-engine-test branch]
2021-08-12 20:46:22 -04:00
jonathan adamczewski
ad86e81438 UnrealBuildTool:
Add a StringComparison argument to CreateIntermediateTextFile() and require callers to make a decision about the case-sensitivity used when considering whether to re-write a file.

(This is intentionally explicit and verbose at the call-site - we should implement a better solution. This change makes it clear that there is work to be done to be able to simplify the interface and achieve reliable behavior.)

As a first pass, C++ files (headers, cpp files, pch files) will have a case-sensitive comparison (C++ code is, mostly, case sensitive), Linux script files have a case-sensitive comparison (case-sensitive filesystem), and all other files are compared disregarding case - to match pre-existing behavior, and with the desire to not borrow more surprises than necessary.

#jira none

#ROBOMERGE-SOURCE: CL 16616339 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16616345 by jonathan adamczewski in ue5-release-engine-test branch]
2021-06-09 19:45:21 -04:00
jonathan adamczewski
a865a21fb0 Move FileItem and DirectoryItem into BuildUtilities
#jira none

#ROBOMERGE-SOURCE: CL 16596289 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16596323 by jonathan adamczewski in ue5-release-engine-test branch]
2021-06-08 19:06:03 -04:00
brandon schaefer
95cf593edb Add another quote to make dotnet happy due to dotnot supporting single quotes as quotes
#jira UE-106332
#rb none
[FYI] Joakim.Lindqvist, Chris.Babcock

#ROBOMERGE-SOURCE: CL 15537407 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15537409 by brandon schaefer in ue5-main branch]
2021-02-25 22:04:20 -04:00
Ben Marsh
6f927647b1 Changing C# code over to using EpicGames.Core over DotNETCommon.
#rb none
#rnx

[CL 14962096 by Ben Marsh in ue5-main branch]
2020-12-21 23:07:37 -04:00
Ben Marsh
68f5abeb09 UBT: Convert UnrealBuildTool to use nullable references.
#rb none
#rnx

[CL 14960546 by Ben Marsh in ue5-main branch]
2020-12-20 18:47:42 -04:00
Ben Marsh
7047e080af UBT: Rename IAction to IExternalAction, to distinguish it from actions which only exist within UBT.
#rb none
#rnx

[CL 14823490 by Ben Marsh in ue5-main branch]
2020-11-30 16:58:32 -04:00
Ben Marsh
96c997d826 UBT: Move logic for building response files and generating inputs and outputs for MSVC compilation into the VCCompileAction class.
#rb none
#rnx

[CL 14812826 by Ben Marsh in ue5-main branch]
2020-11-25 10:19:33 -04:00
Ben Marsh
74732c7177 UBT: Convert a few more direct references to the Action class to IAction interfaces.
#rb none
#rnx

[CL 14810700 by Ben Marsh in ue5-main branch]
2020-11-24 15:42:08 -04:00
ben marsh
e73098ac89 Add missing copyright notice.
#rb none
#rnx
#jira

#ROBOMERGE-SOURCE: CL 12049506 in //UE4/Release-4.25/... via CL 12049507
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v657-12064184)

[CL 12076160 by ben marsh in Main branch]
2020-03-09 13:20:51 -04:00
ben marsh
09ca12ccef Refactor UBT to use an interface (IActionGraphBuilder) to construct the action graph. Response files are also constructed through this interface, allowing them to be tracked as dependencies (will be added in subsequent change).
#rb none
#jira

#ROBOMERGE-SOURCE: CL 12038895 in //UE4/Release-4.25/... via CL 12038911
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v657-12064184)

[CL 12076066 by ben marsh in Main branch]
2020-03-09 13:20:14 -04:00