Commit Graph

3531 Commits

Author SHA1 Message Date
Josh Adams
bea3818892 - Much fixed UBT.csproj on VS Mac (and added support Restricted NDA platform files), now works on all platforms with the same regex stuff
#fyi andrew.grant,axel.riffard

[CL 13890218 by Josh Adams in ue5-main branch]
2020-07-18 14:59:30 -04:00
Josh Adams
ee00f30f04 - Allows the UnrealBuildTool.csprojh to open in Visual Studio Mac (and Linux as well assumedly). Also removed some stale conditional entries
#fyi andrew.grant,michael.trepka

[CL 13886083 by Josh Adams in ue5-main branch]
2020-07-17 15:18:02 -04:00
Josh Adams
2765e77c39 - Fixed AppleSDK version to int conversion routine
[CL 13884887 by Josh Adams in ue5-main branch]
2020-07-17 13:29:57 -04:00
Lauren Barnes
6e4ac7fded Removes PIE, SIE, Editor Modes (Foliage, Landscape, Mesh Paint) and their associated radial menu options.
#jira none
#rb Brooke.Hubert

[CL 13877316 by Lauren Barnes in ue5-main branch]
2020-07-16 16:08:23 -04:00
Ben Marsh
32c246b956 Add additional tracing into to UAT/UBT.
#jira

[CL 13875431 by Ben Marsh in ue5-main branch]
2020-07-16 12:26:55 -04:00
Josh Adams
3f75742acc - Workaround for capturing ps output on Mac UBT getting stuck inside ps's printf with an attached stdout pipe
#rb none
#fyi michael.trepka

[CL 13848672 by Josh Adams in ue5-main branch]
2020-07-13 13:54:21 -04:00
Marc Audy
11f5b21210 Merging //UE5/Release-Engine-Staging @ 13752110 to Main (//UE5/Main)
#rnx

[CL 13753156 by Marc Audy in ue5-main branch]
2020-06-23 18:40:00 -04:00
Josh Adams
8e4048e6ee - Moved Platform SDK classes to their own files to prepare for moving to BuildUtilities
- Deleted some empty subclasses
#fyi ben.marsh

[CL 13736834 by Josh Adams in ue5-main branch]
2020-06-22 16:48:32 -04:00
Josh Adams
ab4a48f566 - Moved UEBuildPlatformSDK into a separate DLL, BuildUtilities (similar to DotNETUtilities), allowing for better sharing of code between UBT and UAT (Turnkey in particular)
- Refactored SDK versioning into more formalized APIs for all platforms. Currently UBT will not error with bad versions, but that is coming.
- Turnkey updated to use new BuildUtilities
#rb ben.marsh

[CL 13733158 by Josh Adams in ue5-main branch]
2020-06-22 14:32:25 -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
Josh Adams
919f32fc9e - Removed HTML5 from UnrealTargetPlatform (it's a PlatformExtension, and that should add the UTP)
[CL 13690277 by Josh Adams in ue5-main branch]
2020-06-16 15:40:25 -04:00
halfdan ingvarsson
de55208aef Added option to UBT project generation to allow users to specify include paths to be omitted from project files. This speeds up parsing, reduces memory footprint, and allows irrelevant symbols to be excluded from intellisense suggestions.
Example usage in BuildConfiguration.xml -

<VCProjectFileGenerator>
    <ExcludedIncludePaths>ThirdParty\WebRTC;ThirdParty\PhysX</ExcludedIncludePaths>
</VCProjectFileGenerator>

Example savings -

Adding ThirdParty\PhysX = 47% vcproj reduction (28MB -> 15MB)
Adding ThirdParty\ = 61% vcproj reduction (28MB -> 11MB)

#jira na
#rb swarm

[CL 13632181 by halfdan ingvarsson in ue5-main branch]
2020-06-05 12:15:12 -04:00
Josh Adams
d04b198d32 - Removed Win32 from being referenced in:
- BuildScripts so builders won't compile it
  - UBT platform registration and from being registered in UBT (so it won't show up in VS)
  - PlatformInfo (so it can't triggered from Package/Launch On)
#rb ben.marsh

[CL 13546702 by Josh Adams in ue5-main branch]
2020-05-26 12:07:45 -04:00
Josh Adams
ccc1743281 - Big TargetPlatform Module cleanup:
- Removed the function to return a single TP, and wrapped the functionality in a simple single required function (platform just has to add TPs to an array, high level code manages init and cleanup of the array)
  - Stripped unncessary code from all TPs
  - Collapsed the desktop targetplatform modules into 1 per platform
  - Renamed LinuxAArch64NoEditorTargetPlatfortm to LinuxAArch64TargetPlatform to match the other non-editor platforms
  - Deleted AllDesktopPlatform

[CL 13502803 by Josh Adams in ue5-main branch]
2020-05-22 09:57:29 -04:00
Josh Adams
67b6aba0f1 - Undid a debug change that was left in by mistake
[CL 13241024 by Josh Adams in ue5-main branch]
2020-05-07 17:09:30 -04:00
Josh Adams
2e141cec28 - Early platform Turnkey platform support (some using made up numbers, some using real sdk values)
[CL 13240889 by Josh Adams in ue5-main branch]
2020-05-07 17:08:36 -04:00
Ben Marsh
06ba5f319f Fix macros for UE_4_X_OR_LATER (add UE_5_X_OR_LATER)
[CL 13205810 by Ben Marsh in ue5-main branch]
2020-05-06 08:20:44 -04:00
ben marsh
f12d676b72 Fix BuildConfiguration.xml not being read from NotForLicensees folder (no longer returned by XmlConfig.FindInputFiles)
#jira
[FYI] Josh.Adams

#ROBOMERGE-SOURCE: CL 13169678 via CL 13169683 via CL 13169691
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v688-13145358)

[CL 13169695 by ben marsh in Main branch]
2020-05-05 05:52:05 -04:00
graeme thornton
7199481e65 Second attempt at submitting:
UBT: When generating visual studio project files, projects with multiple editor targets will use the default editor target config setting, if it exists, to determine which editor target should be added to the main project file. All others will generate separate projects inside the VS solution.

#rb ben.marsh

#ROBOMERGE-SOURCE: CL 13169045 via CL 13169053 via CL 13169054 via CL 13169058 via CL 13169079
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v688-13145358)

[CL 13169085 by graeme thornton in Main branch]
2020-05-05 05:22:31 -04:00
ben marsh
3b7230edd9 Add an option to configure the maximum length of shared include paths to use when generating Visual Studio project files. Despite improving Visual Studio stability for some users, it seems to be causing VAX crashes for others.
To disable the use of shared include paths (at the expensive of Visual Studio using more memory), put this in BuildConfiguration.xml:

<?xml version="1.0" encoding="utf-8" ?>
<Configuration xmlns="https://www.unrealengine.com/BuildConfiguration">
	<VCProjectFileGenerator>
		<MaxSharedIncludePaths>0</MaxSharedIncludePaths>
	</VCProjectFileGenerator>
</Configuration>

The setting specifies the maximum length of the shared include paths to use, in bytes. The default value is 24,576 (24k).

#jira

#ROBOMERGE-SOURCE: CL 13151316 via CL 13151320 via CL 13151331
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v688-13145358)

[CL 13151347 by ben marsh in Main branch]
2020-05-04 15:18:03 -04:00
brandon schaefer
ee640cc68c WhichClang should check if our toolchain is being used
Helps with the generation of CMake project files which needs a valid clang compiler on Linux

#rb none
[FYI] Michael.Sartain

#ROBOMERGE-SOURCE: CL 13145572 via CL 13145575 via CL 13145580
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v688-13145358)

[CL 13145581 by brandon schaefer in Main branch]
2020-05-03 11:24:27 -04:00
graeme thornton
b8d176d2f8 Backing out my change to project file generation as it seems to be causing some problems
#rnx

#ROBOMERGE-SOURCE: CL 13132309 via CL 13137042 via CL 13137199 via CL 13137212 via CL 13137228
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v687-13115495)

[CL 13137240 by graeme thornton in Main branch]
2020-04-30 23:19:44 -04:00
stefan boberg
5e02f50bc3 ParallelExecutor scheduling tweak to make ispc jobs execute early
ispc jobs tend to run long so getting them out of the way quickly helps prevents ispc from making the build longer than necessary

The logic is pretty crude (it checks to see if the StatusDecription ends with .ispc) but works for now -- perhaps we can implement a cleaner prioritization mechanism later

#rb ben.marsh
#ushell-cherrypick of 13063841 by Stefan.Boberg

#ROBOMERGE-SOURCE: CL 13128879 via CL 13128997 via CL 13129022 via CL 13129066
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v687-13115495)

[CL 13129108 by stefan boberg in Main branch]
2020-04-30 16:12:03 -04:00
graeme thornton
62991995ea UBT: When generating visual studio project files, projects with multiple editor targets will use the default editor target config setting, if it exists, to determine which editor target should be added to the main project file. All others will generate separate projects inside the VS solution.
#rb ben.marsh

#ROBOMERGE-SOURCE: CL 13115425 via CL 13115430 via CL 13115434 via CL 13115440 via CL 13115446
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v686-13045012)

[CL 13115454 by graeme thornton in Main branch]
2020-04-30 10:55:26 -04:00
josh adams
780e81649c - XboxOne Build/Resources files moving to PlatformExtensions
#rb david.harvey
#rnx

#ROBOMERGE-SOURCE: CL 13072487 via CL 13072492 via CL 13072497
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v686-13045012)

[CL 13072502 by josh adams in Main branch]
2020-04-29 14:37:34 -04:00