Commit Graph

12 Commits

Author SHA1 Message Date
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
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
Josh Adams
6974da044c - Start capturing log to a StartupTraceListener as soon as UBT starts (allowing the ToolMode to decide if it wants it or not via ToolModeOptions)
#rb ben.marsh

[CL 13701685 by Josh Adams in ue5-main branch]
2020-06-17 19:05:09 -04:00
Ryan Durand
9ef3748747 Updating copyrights for Engine Programs.
#rnx
#rb none
#jira none

#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869242 in //Fortnite/Release-12.00/... via CL 10869536
#ROBOMERGE-BOT: FORTNITE (Main -> Dev-EngineMerge) (v613-10869866)

[CL 10870955 by Ryan Durand in Main branch]
2019-12-26 23:01:54 -05:00
Ben Marsh
2aff13a3b8 Add functionality to allow querying the available targets for a project from the editor, and use it to allow packaging client and server targets from the "Package Project" menu.
#rb none

[CL 7950582 by Ben Marsh in Dev-Build branch]
2019-08-12 11:21:45 -04:00
Ben Marsh
07e535411b Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 5435186 by Ben Marsh in Dev-Build branch]
2019-03-18 16:38:36 -04:00
Ben Marsh
6f57983b93 UBT: When building a target, start prefetching the contents of engine/project/plugin source folders in parallel on background threads as soon as UBT starts up (by instantiating FileItem and DirectoryItem objects). This reduces I/O waits on the main thread when validating the contents of the makefile or building a target. Measured ~20% reduction in UBT times when using a makefile.
Other directories are probably worth prefetching too; needs measuring.

#rb none

[CL 4673733 by Ben Marsh in Dev-Build branch]
2018-12-23 20:29:48 -05:00
Ben Marsh
d6a55553ea Update additional copyright notices.
#rb none
#rnx

[CL 4662881 by Ben Marsh in Dev-Build branch]
2018-12-14 15:20:24 -05:00
Ben Marsh
f72cc5ac5f UBT: Add flags to the ToolMode attribute which indicate which systems should be initialized before running it.
#rb none
#rnx

[CL 4643790 by Ben Marsh in Dev-Build branch]
2018-12-08 11:31:03 -05:00
Ben Marsh
fd83293f05 Fix missing or incorrect copyright notices.
#rb none
#rnx

[CL 4593740 by Ben Marsh in Dev-Build branch]
2018-11-26 16:46:35 -05:00
Ben Marsh
7165beadff UBT: Add a class stores a list of command line arguments and allow efficient ad-hoc queries of particular options (eg. "-Flag") and retreival of typed values (eg. "-Foo=Bar"), as well as attribute-driven application to fields with the [CommandLine] attribute applied. Also tracks which arguments have been retrieved, allowing the display of diagnostic messages for invalid arguments.
#rb none

[CL 4368033 by Ben Marsh in Dev-Build branch]
2018-09-16 13:19:23 -04:00
Ben Marsh
910812214e UBT: Add support for running UBT in different modes with separate command line parsing and entry points. Different modes derive from the ToolMode class, and use a [ToolMode] attribute to specify their name. Executing a mode is done with the -Mode=XXX parameter on the command line. The default mode implements traditional UBT functionality, but the WriteDocumentation mode can be used to output HTML documentation for BuildConfiguration, ModuleRules and TargetRules classes.
#rb none

[CL 4367612 by Ben Marsh in Dev-Build branch]
2018-09-15 12:58:49 -04:00