Commit Graph

66 Commits

Author SHA1 Message Date
Joe Kirchoff
9f286a1c41 LiveCoding: Support updating actions that are invoking cl.exe or clang-cl.exe
#rb trivial
#rnx

[CL 16776753 by Joe Kirchoff in ue5-main branch]
2021-06-24 14:45:11 -04:00
jonathan adamczewski
4ece24e65a AutomationTool, BuildUtilities:
UnrealBuild -> Unreal for EngineDirectory, RootDirectory, IsEngineInstalled, UnrealBuildToolPath
Remove CommandUtils EngineDirectory, RootDirectory, IsEngineInstalled - use equvalents from UnrealBuildBase.Unreal

#jira none

[CL 16648181 by jonathan adamczewski in ue5-main branch]
2021-06-11 18:20:44 -04:00
jonathan adamczewski
94b14ee042 UnrealBuildTool: move some path constants into BuildUtilities
RootDirectory, EngineDirectory, UnrealBuildToolPath are now found in BuildUtilities' UnrealBuild namesapce.

The way these are computed has changed. Previously, it was assumed that the application is UnrealBuildTool, and paths were constructed relative to that assembly.

Now, the assumption is that the process is located under a "Engine/Build/DotNET" sub-path and paths are constructed relative to that.

#jira none

[CL 16607440 by jonathan adamczewski in ue5-main branch]
2021-06-09 12:54:42 -04:00
jonathan adamczewski
44a6d5481e Move FileItem and DirectoryItem into BuildUtilities
#jira none

[CL 16596289 by jonathan adamczewski in ue5-main branch]
2021-06-08 19:05:33 -04:00
jonathan adamczewski
6bf7665e9f HotReload:
Make ShouldDoHotloadFromIDE() more robust against the possiblity that the PID of a long-gone Editor instance has been recycled as a system process.

#jira none

[CL 16026733 by jonathan adamczewski in ue5-main branch]
2021-04-15 17:27:34 -04:00
Ben Marsh
d2af06bed6 Fix support for C++20 modules.
#rb none
#rnx
#preflight 604a88b003c5190001d96f42

[CL 15681675 by Ben Marsh in ue5-main branch]
2021-03-11 18:03:43 -04:00
brandon dawson
79a0dc89af Make sure that the editor process is actually running for hot reload test. Fixes situation where PIDs were still building up in Engine\Intermediate\EditorRuns, causing extrememly long build times in no build situations. Saves about 50 seconds on my current setup.
Ben.Marsh

#ROBOMERGE-SOURCE: CL 15654772 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v779-15635321)

[CL 15654783 by brandon dawson in ue5-main branch]
2021-03-09 11:29:42 -04:00
Dan Thompson
14ccebb64b ubt: fix for process ids that exist but have exited causing incrementabl build slowdowns.
[CL 15318115 by Dan Thompson in ue5-main branch]
2021-02-04 13:12:36 -04:00
Marc Audy
cac1fe0019 Merge UE5/Release-Engine-Staging @ CL# 15299266 to UE5/Main
This represents UE4/Main @ CL# 15277572

[CL 15299962 by Marc Audy in ue5-main branch]
2021-02-03 14:57:28 -04:00
Marc Audy
bc88b73a29 Merge Release-Engine-Staging to Main @ CL# 15151250
Represents UE4/Main @ 15133763

[CL 15158774 by Marc Audy in ue5-main branch]
2021-01-21 16:22:06 -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
Tim Smith
f678576713 Added a limit to the number of actions live coding will handle by default. The user can change these limits and even request that the compilation try again withot enforcing the limit.
#rb ben.marsh
#jira UE-81480

[CL 14878398 by Tim Smith in ue5-main branch]
2020-12-08 09:47:08 -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
7bcee7e396 UBT: Rename QueuedAction to LinkedAction.
#rb none
#rnx

[CL 14812791 by Ben Marsh in ue5-main branch]
2020-11-25 10:13:28 -04:00
Ben Marsh
f25f409ced UBT: Change the produced/prerequisite item lists for actions to be IEnumerables, so we can generate them dynamically using iterators.
#rb none
#rnx

[CL 14810772 by Ben Marsh in ue5-main branch]
2020-11-24 16:08:50 -04:00
Ben Marsh
29bfdd417f UBT: Allow actions to implement custom serialization methods, and store abstract interfaces for actions in the makefile.
#rb none
#rnx

[CL 14810441 by Ben Marsh in ue5-main branch]
2020-11-24 14:37:31 -04:00
Ben Marsh
51d24bf4cc UBT: Duplicate actions for HotReload rather than mutating existing actions. We can probably make this much cleaner in future, just laying the groundwork.
[CL 14810050 by Ben Marsh in ue5-main branch]
2020-11-24 12:56:09 -04:00
Ben Marsh
7ec8925ea4 UBT: Move all internal derived data for action objects into a separate class. This will allow creating specific action-derived classes for different actions.
#rb none

[CL 14807917 by Ben Marsh in ue5-main branch]
2020-11-23 17:48:35 -04:00
Tim Smith
9ccd72e9b1 LiveCoding fails to compile code change.
LiveCoding console reports one of the following messages

Unable to read from .../LiveCoding.json
Build failed with ERROR: Unable to start regular build while Live Coding is active. Press Ctrl+Alt+F11 to trigger a Live Coding compile.

#jira UE-95661, UE-95241
#rb ben.marsh

[CL 14763205 by Tim Smith in ue5-main branch]
2020-11-17 10:17:29 -04:00
Ben Marsh
486408b1a9 Rename UE5Editor to UnrealEditor.
#rb none
#jira UE-97600

[CL 14292067 by Ben Marsh in ue5-main branch]
2020-09-10 15:39:00 -04:00
Ben Marsh
be7034ec27 Rename UE4Editor to UE5Editor, and generated solution/projects from UE4 -> UE5.
UE4Game/Client/Server targets left intact for the time being.

#rb none

[CL 14288076 by Ben Marsh in ue5-main branch]
2020-09-10 09:10:30 -04:00
Marc Audy
7379fa99c5 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14229157
[CL 14233282 by Marc Audy in ue5-main branch]
2020-09-01 14:07:48 -04:00
James Hopkin
1edd7720d5 UBT: allow multiple -SingleFile arguments. Now stores SpecifcFilesToCompile list rather than single file reference.
#rb Ben.Marsh

#ROBOMERGE-OWNER: james.hopkin
#ROBOMERGE-AUTHOR: james.hopkin
#ROBOMERGE-SOURCE: CL 12779149 via CL 12779152 via CL 12779160
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v681-12776863)

[CL 12782243 by James Hopkin in Main branch]
2020-04-14 13:31:51 -04:00
Ben Marsh
d6d7c939e5 Copying //UE4/Dev-Build to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 12726184 by Ben Marsh in Main branch]
2020-04-10 11:30:32 -04:00