Commit Graph

1313 Commits

Author SHA1 Message Date
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
24dc06981b UBT: Remove support for outputting entire action graph for a target. This is not going to be valid with C++20 modules, since we require dependencies discovered at build time to feed back into the action graph execution.
#rb none
#rnx

[CL 14814704 by Ben Marsh in ue5-main branch]
2020-11-25 21:24:19 -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
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
Marc Audy
a7f9391231 Merge UE5/Release-Engine-Staging @ 14811410 to UE5/Main
This represents UE4/Main @ 14768117

For ReleaseObjectVersion.h
#lockdown Marcus.Wassmer

[CL 14811440 by Marc Audy in ue5-main branch]
2020-11-24 18:42:39 -04:00
Ben Marsh
8d1f11d053 UBT: Start to move Windows specific compile functionality into the VCCompileAction class.
#rb none
#rnx

[CL 14810985 by Ben Marsh in ue5-main branch]
2020-11-24 17:48:38 -04:00
Ben Marsh
25a42f8613 UBT: Add a custom compile action for Visual C++.
#rb none
#rnx

[CL 14810803 by Ben Marsh in ue5-main branch]
2020-11-24 16:24:58 -04:00
Ben Marsh
b598d6ffd8 UBT: Remove Action.bPrintDebugInfo. This is no longer read by anything.
#rb none
#rnx

[CL 14810786 by Ben Marsh in ue5-main branch]
2020-11-24 16:15:02 -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
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
cbac58b28c Add missing copyright notice.
#rb none
#rnx

[CL 14810519 by Ben Marsh in ue5-main branch]
2020-11-24 14:57:55 -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
Ben Marsh
213962ef40 UBT: Move methods for checking for conflicts off the Action class.
#rb none
#rnx

[CL 14807598 by Ben Marsh in ue5-main branch]
2020-11-23 16:13:08 -04:00
Ben Marsh
b0bc57416c UBT: Remove timing fields from the action class. This is only used by the local executor, which is no longer the default.
#rb none

[CL 14807555 by Ben Marsh in ue5-main branch]
2020-11-23 16:04:24 -04:00
Ben Marsh
0e95359692 UBT: Remove the DistCC executor. We don't maintain this any more.
#rb none

[CL 14807528 by Ben Marsh in ue5-main branch]
2020-11-23 15:53:51 -04:00
Ben Marsh
b1e882d4d1 UBT: Add preprocessor work from Private-ArtifactCache stream.
#rb none
#rnx

[CL 14806988 by Ben Marsh in ue5-main branch]
2020-11-23 13:33:12 -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
Joakim Lindqvist
701b33939e Updated mac shell scripts for UBT in NetCore, opt in by setting UE_USE_DOTNET=1, note that due to output path differences a lot of tooling will break when enabling it.
#rb ben.marsh

[CL 14641121 by Joakim Lindqvist in ue5-main branch]
2020-11-03 08:46:05 -04:00
Joakim Lindqvist
2f6056b62b UAT Net-Core now supports running on Linux as well.
Set UE_USE_DOTNET=1 to enable this.

#rb ben.marsh

[CL 14641009 by Joakim Lindqvist in ue5-main branch]
2020-11-03 08:30:22 -04:00
devin doucette
829c1e154b Fixed UBT DataDrivenPlatformInfo to use case insensitive comparisons
#jira none
#rb Josh.Adams
#rnx

[CL 14600201 by devin doucette in ue5-main branch]
2020-10-28 12:13:30 -04:00
Joakim Lindqvist
394b90b098 UBT changes required for netcore projects.
* Added support for more complex Msbuild conditions (using static property methods) as we use this to do per platform checks in the csprojs.
* Tweaks to the parsing of csprojs as expecations are different for netcore (mostly for how configurations are defined)
* Lastly if -dotnetcore flag is present when generating projects, use the netcore project files instead.

#rb ben.marsh

[CL 14572331 by Joakim Lindqvist in ue5-main branch]
2020-10-26 06:08:01 -04:00
Marc Audy
4c1bb11c29 Merge UE5/Release-Engine-Staging to UE5/Main @ 14548662
This represents UE4/Main @ 14525125 + cherrypicked fixes
#skipundocheck

[CL 14551026 by Marc Audy in ue5-main branch]
2020-10-22 19:19:16 -04:00
Josh Adams
77c0e15de9 - Fixed UBT to not throw errors if a project has a Platforms/XYZ directory, which will try to build with platform XYZ, if the engine doesn't have Engine/Platforms/XYZ/DataDrivenPlatformInfo.ini file. This will make it so the Project/Platforms/XYZ directory would be completely skipped over (and Project/Restricted/Blah/Platforms/XYZ)
- Changed plugin module descriptor internals to allow for an empty platform whitelist (which means no platforms are enabled), in the case of all platforms in the whitelist are not around
- Added some dummy DDPI.ini files for "fake platforms" to the Engine so that the above directory checks will not strip out the shared platform directories from projects
#rb ben.marsh
#fyi luke.thatcher,david.harvey
#jira UE-100574

[CL 14490452 by Josh Adams in ue5-main branch]
2020-10-14 08:54:14 -04:00