Commit Graph

122 Commits

Author SHA1 Message Date
Ben Marsh
f0b21050a3 Add a "GenerateClangDatabase" mode to UBT, which will generate a compile_commands.json file in the workspace root directory for Clang tooling. Filter which files to include using the -Filter=... argument (eg. -Filter=QAGame/Source/...).
Example usage:

UnrealBuildTool.exe UnrealPak Win64 Development -Mode=GenerateClangDatabase -Filter=Engine/Source/Programs/...

#rb none

[CL 8121646 by Ben Marsh in Dev-Build branch]
2019-08-19 21:09:01 -04:00
Ryan Durand
1cda6a5d08 A couple of files that got missed in the Horde check in.
#rnx
#rb none
#jira none

[CL 8042290 by Ryan Durand in Dev-Build branch]
2019-08-14 16:24:58 -04:00
ben marsh
a07356736d Add more debug info to failures when duplicating handles.
#rb none
#rnx
#jira

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 7706768 in //UE4/Release-4.23/... via CL 7706769
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v389-7813075)

[CL 7834534 by ben marsh in Dev-Build branch]
2019-08-06 22:17:42 -04:00
ben marsh
0d5eb2d3d8 UBT: Include additional context when a managed process fails to start.
#rb none
#jira UE-76597
#rnx

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 7689299 in //UE4/Release-4.23/... via CL 7689300
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v388-7785529)

[CL 7809606 by ben marsh in Dev-Build branch]
2019-08-06 12:57:50 -04:00
andrew grant
806a33979e Fix for issue on Linux trying to create a file at a path that doesn't exist (on Windows & Mac other code results in this path being created earlier).
#jira #rb na
[FYI] michael.sartain

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: andrew.grant
#ROBOMERGE-SOURCE: CL 7647006 in //UE4/Release-4.23/... via CL 7647007
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v388-7785529)

[CL 7789544 by andrew grant in Dev-Build branch]
2019-08-06 10:39:22 -04:00
andrew grant
1004e7cebc QOL improvements for Mac from UE4/Main that missed original branch
- Use msbuild where possible for building UAT by checking for mono5
- Hash state of UAT scritps post-compile to skip redundant rebuilds

#jira nojira
#rb na

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: andrew.grant
#ROBOMERGE-SOURCE: CL 7634479 in //UE4/Release-4.23/... via CL 7634480
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v385-7708028)

[CL 7731875 by andrew grant in Dev-Build branch]
2019-08-05 07:11:19 -04:00
ben marsh
97a7bbcd24 Add more debug info to failures when duplicating handles.
#rb none
#rnx
#jira

#ROBOMERGE-SOURCE: CL 7706768 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v384-7690951)

[CL 7706769 by ben marsh in Main branch]
2019-08-02 10:50:02 -04:00
ben marsh
408d4d3b62 UBT: Include additional context when a managed process fails to start.
#rb none
#jira UE-76597
#rnx

#ROBOMERGE-SOURCE: CL 7689299 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v383-7686620)

[CL 7689300 by ben marsh in Main branch]
2019-08-01 13:07:33 -04:00
andrew grant
d77f3809c3 Fix for issue on Linux trying to create a file at a path that doesn't exist (on Windows & Mac other code results in this path being created earlier).
#jira #rb na
[FYI] michael.sartain

#ROBOMERGE-SOURCE: CL 7647006 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v372-7473910)

[CL 7647007 by andrew grant in Main branch]
2019-07-27 22:25:13 -04:00
andrew grant
6acdb1f5c8 QOL improvements for Mac from UE4/Main that missed original branch
- Use msbuild where possible for building UAT by checking for mono5
- Hash state of UAT scritps post-compile to skip redundant rebuilds

#jira nojira
#rb na

#ROBOMERGE-SOURCE: CL 7634479 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v372-7473910)

[CL 7634480 by andrew grant in Main branch]
2019-07-26 12:09:44 -04:00
andrew grant
a98a690033 Switched UAT build process on Mac to use msbuild.
Enabled parallel msbuild for Mac
Added HashCollection class that can hold and serialize a collection of content hashes
Added quick dependency checking to UAT build by hashing csproj, input and output files for all modules
Reduced some logging when not running with -verbose

#rb Ben.Marsh
[FYI] Ben.Marsh

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: andrew.grant
#ROBOMERGE-SOURCE: CL 7290522 via CL 7290525 via CL 7292711 via CL 7292732 via CL 7308901 via CL 7315952
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v371-7306989)

[CL 7360867 by andrew grant in Dev-Build branch]
2019-07-17 02:21:07 -04:00
Ben Marsh
2ef1be4c7c UGS: Disable support for parallel syncing; seems to be causing errors now that we have support for wildcard syncs.
#rb none
#rnx

[CL 7323251 by Ben Marsh in Dev-Build branch]
2019-07-16 11:39:11 -04:00
andrew grant
92c8c8937f Switched UAT build process on Mac to use msbuild.
Enabled parallel msbuild for Mac
Added HashCollection class that can hold and serialize a collection of content hashes
Added quick dependency checking to UAT build by hashing csproj, input and output files for all modules
Reduced some logging when not running with -verbose

#rb Ben.Marsh
[FYI] Ben.Marsh


#ROBOMERGE-OWNER: andrew.grant
#ROBOMERGE-AUTHOR: andrew.grant
#ROBOMERGE-SOURCE: CL 7290522 via CL 7290525 via CL 7292711 via CL 7292732 via CL 7308901
#ROBOMERGE-BOT: (v371-7306989)

[CL 7315952 by andrew grant in Main branch]
2019-07-15 20:50:01 -04:00
Ben Marsh
b19e6a5973 Add a helper method to write a null object reference to a binary archive.
#rb none
#jira
#rnx

[CL 7196600 by Ben Marsh in Dev-Build branch]
2019-06-24 14:21:34 -04:00
Ben Marsh
bdfeb61313 Add utility methods for parsing ContentHash values.
#rb none
#rnx

[CL 6930872 by Ben Marsh in Dev-Build branch]
2019-06-11 10:45:35 -04:00
Ben Marsh
cfe09c649f Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 6922670 by Ben Marsh in Dev-Build branch]
2019-06-10 19:47:29 -04:00
Jeff Fisher
bcc5bcf128 Copying //UE4/Dev-VR to Main (//UE4/Main)
-Copy up for 4.23
#rb none

[CL 6911980 by Jeff Fisher in Main branch]
2019-06-10 12:22:13 -04:00
Ben Marsh
51e3a6fb84 UBT: Track any reads from config files, so we can more accurately detect when they've been modified. Some config files are modified whenever the editor is started, causing the makefile to be invalidated unnecessarily.
#rb none
#jira UE-73197

[CL 6911205 by Ben Marsh in Main branch]
2019-06-10 11:09:30 -04:00
Ben Marsh
0cc6e3dca6 Copying //UE4/Dev-Build to Dev-Main (//UE4/Dev-Main)
#rb none
#rnx

[CL 6631504 by Ben Marsh in Main branch]
2019-05-24 11:51:54 -04:00
Ben Marsh
3bca0a1c77 Implement the RestrictedPlatform type similarly to UnrealTargetPlatform. Platforms marked as confidential via data driven platform info are automatically registered with this list.
#rb none
#rnx

[CL 6599873 by Ben Marsh in Dev-Build branch]
2019-05-21 16:32:16 -04:00
ben marsh
80bfea70d0 Add missing copyright notices.
#rb none
#rnx
#jira UE-74628

#ROBOMERGE-SOURCE: CL 6455289 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 6455290 by ben marsh in Main branch]
2019-05-14 18:15:10 -04:00
ben marsh
9ab666905e UBT: Add utility methods for correcting paths to match their case on disk, and fix issues with inconsistent paths when cross-compiling for Linux.
#rb none
#jira UE-72267
#jira UE-72904

#ROBOMERGE-SOURCE: CL 6441346 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 6441352 by ben marsh in Main branch]
2019-05-14 08:39:53 -04:00
Ben Marsh
fe22b0bc0f UGS: Add a mode to MetadataTool for updating build health between runs.
#rb none
#rnx

[CL 6340991 by Ben Marsh in Dev-Build branch]
2019-05-07 09:50:29 -04:00
Ben Marsh
faaaa784be UBT: Remove the "default" value for the build environment. The property now returns the appropriate default value depending on the target being built.
#rb none

[CL 6276992 by Ben Marsh in Dev-Build branch]
2019-05-03 13:03:54 -04:00
Ben Marsh
9508495e73 Add -writeactions= and -writeoutdatedactions= arguments to export the action graph to a JSON file, and an "Execute" tool mode to read in an action graph and execute it.
#rb none

[CL 6033020 by Ben Marsh in Dev-Build branch]
2019-04-22 09:20:27 -04:00