Commit Graph

3035 Commits

Author SHA1 Message Date
Ben Marsh
e26dfd2100 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 4716250 by Ben Marsh in Dev-Build branch]
2019-01-12 13:09:07 -05:00
Ben Marsh
129aac0526 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 4706788 by Ben Marsh in Dev-Build branch]
2019-01-10 20:03:35 -05:00
Michael Trepka
906bea3890 Added UE4Editor-Cmd for Mac
#rb Ben.Marsh
#jira UETOOL-1198

[CL 4703397 by Michael Trepka in Dev-Build branch]
2019-01-10 15:10:21 -05:00
Ben Marsh
c09b6d7f18 Merge from //UE4/Main.
#rb none
#rnx

[CL 4701155 by Ben Marsh in Dev-Build branch]
2019-01-10 11:10:29 -05:00
Ben Marsh
1a160ba61b Force C# projects to be compiled against the NET 4.5 framework on Mac/Linux, because we don't have 4.6.2 libraries on the version we currently bundle.
#rb none
#jira UE-68084
#rnx

[CL 4686626 by Ben Marsh in Dev-Build branch]
2019-01-07 16:38:57 -05:00
Ben Marsh
53467c22ef UBT: Deprecate Visual Studio 2015. Still technically supported from source if explicitly selected as the compiler for a particular target, but will not be automatically detected by UBT for building.
#rb none

[CL 4681677 by Ben Marsh in Dev-Build branch]
2019-01-04 11:35:38 -05:00
Ben Marsh
287fa130a3 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 4677654 by Ben Marsh in Dev-Build branch]
2019-01-02 20:42:29 -05:00
TBBle
d890e72635 PR #5376: Clang-CL Windows build-fixes (Contributed by TBBle)
#rb none

[CL 4677246 by Ben Marsh in Dev-Build branch]
2019-01-02 17:05:10 -05:00
Ben Marsh
c5cd50eac8 Fix command line arguments passed through the project launcher not being escaped properly. Also remove the custom command line parser from UAT, which doesn't parse standard escape sequences correctly. This code was originally added to allow newlines to be parsed as argument separators, but the maintainance cost of it isn't worth the trouble. I'd rather find and fix any places where that happens.
#rb none

[CL 4676467 by Ben Marsh in Dev-Build branch]
2019-01-02 13:15:53 -05:00
Ben Marsh
6741d2310c Fix resolution of long package names when using unique editor builds. In these situations the base directory is set to the project binaries directory, so ContentPathShort resolves to the project content directory.
Also fix an assumed DLL path for NVTT.

#rb none

[CL 4676024 by Ben Marsh in Dev-Build branch]
2019-01-02 09:47:40 -05:00
Ben Marsh
0c830ebcdb Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 4671723 by Ben Marsh in Dev-Build branch]
2018-12-20 08:33:57 -05:00
Ben Marsh
530369c613 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 4662695 by Ben Marsh in Dev-Build branch]
2018-12-14 14:49:12 -05:00
Ben Marsh
0dc210bca6 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none

[CL 4662233 by Ben Marsh in Dev-Build branch]
2018-12-14 12:51:26 -05:00
Michael Trepka
182621670e Copy of CL 4605101 + 4624019
Made all the remaining Mac dylibs that used to be copied inside the app bundle either use Binaries/ThirdParty subfolder, or copy to Engine/Binaries/Mac via RuntimeDependencies, like their Windows counterparts do.

#jira UETOOL-1167
#rb none

[CL 4641521 by Michael Trepka in Dev-Build branch]
2018-12-07 13:48:41 -05:00
Ben Marsh
8346d5c50a Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 4634893 by Ben Marsh in Dev-Build branch]
2018-12-05 18:59:28 -05:00
Ben Marsh
a9102bdfbc Add support for Visual Studio 2019 to the source code accessor. VS2019 does not have registry entries in the same way that VS2017 do, so use VSWHERE to determine the location of any installations.
#rb none

[CL 4631998 by Ben Marsh in Dev-Build branch]
2018-12-05 09:50:08 -05:00
Ben Marsh
bfd4c2e78e Pass -IgnoreJunk when hot reloading from the editor rather than special casing it from inside UBT.
#rb none
#rnx

[CL 4622209 by Ben Marsh in Dev-Build branch]
2018-12-02 14:43:20 -05:00
Ben Marsh
435bc9778e Various changes to hot reload build process.
* Hot reload now shares the regular UBT makefile, significantly improving performance for first-time compile. The history of previous hot-reloads is stored in an intermediate file (see GetHotReloadStateFile()), allowing the action graph to be patched to the last hot reload state before executing the build rather than creating a separate makefile. (A nice side effect of this is that it allows tracking hot reload attempts, and assigning incremental suffixes rather than random numbers for each run).
* The list of modules eligable for hot reload is now explicitly saved to the makefile. During a hot reload from IDE invocation, we always try to build all out of date modules and only apply suffixes to those that support it. This prevents the confusing behavior where an editor open in the background will not attempt to build certain files.
* Logic for building dependent modules is now significantly more reliable. Only modules with changes are rebuilt, and all dependent modules of those modules are correctly rebuilt too. The -CanSkipLink option is no longer necessary, and has been removed.
* All code for dealing with hot-reload only happens when the action graph is executed. The construction of a target no longer has any knowledge of whether hot reload is enabled or not.

#fyi Steve.Robb
#rb none

[CL 4621192 by Ben Marsh in Dev-Build branch]
2018-12-01 16:20:37 -05:00
Ben Marsh
38a7d3328b UBT: Deprecate bCompileLeanAndMeanUE. This setting is vague and non-descriptive, and causes several other settings to be overriden. It is forced on by the current target type and individual target platforms, preventing targets from modifying those values. Anything explicitly using bCompileLeanAndMeanUE now uses bBuildDeveloperTools instead, and the UE_BUILD_MINIMAL macro at runtime has been removed.
The values that it previously forced values to are now configured as follows:

* bBuildEditor is a read-only property that returns true if and only if the target type is Editor.
* bCompileSimplygon and bCompileSimplygonSSF now a property which will default to true for Windows editor, if Simplygon is available. It can also be explicitly enabled or disabled.
* bCompileSpeedTree is now a property which will default to true for editor targets, and can also be explicitly enabled or disabled.

#rb none

[CL 4596311 by Ben Marsh in Dev-Build branch]
2018-11-27 09:02:34 -05:00
Ben Marsh
b0da1f4fe7 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none

[CL 4577636 by Ben Marsh in Dev-Build branch]
2018-11-19 10:12:17 -05:00
Ben Marsh
f1920e75e9 CRC: Fix crash callstacks including more lines than necessary when CRC symbolicates from a local minidump. Now skips the same number of frames as the portable callstack.
#rb none
#jira UE-66130
#rnx

[CL 4552497 by Ben Marsh in Dev-Build branch]
2018-11-08 14:37:24 -05:00
Ben Marsh
aeb747577e Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none

[CL 4551577 by Ben Marsh in Dev-Build branch]
2018-11-08 11:26:52 -05:00
Ben Marsh
0f022f2f46 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none

[CL 4502641 by Ben Marsh in Dev-Build branch]
2018-10-24 13:03:31 -04:00
Ben Marsh
983f6e4d86 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none

[CL 4450587 by Ben Marsh in Dev-Build branch]
2018-10-11 09:04:26 -04:00
Ben Marsh
8007976ec8 UBT: Move the -AutoSDKOnly functionality into a separate mode, invoked by -Mode=SetupPlatforms.
#rb none
#rnx

[CL 4409570 by Ben Marsh in Dev-Build branch]
2018-09-30 18:00:03 -04:00