Commit Graph

4208 Commits

Author SHA1 Message Date
Joe Kirchoff
88662620bb UnrealBuildTool: Add command line flag -PreprocessDepends which will run the compiler preprocesor to generate the dependency list for a compile in a separate action, so the include list can be consumed before executing the compile action. Currently Mac compiles only.
#rnx
#rb Jonathan.Adamczewsk
#preflight 6216b738476ef5d8a210e4c0

[CL 19103649 by Joe Kirchoff in ue5-main branch]
2022-02-23 17:51:29 -05:00
joe kirchoff
68d3b6ae54 [Backout] - CL18683346
#fyi Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: Ensure name suffixes are added if the TargetName is replaced in UEBuildTarget (manually merge due to conflict)

#rnx
#rb none
#preflight 61e9e7f6ab6e1cc028bd372a

[CL 19095177 by joe kirchoff in ue5-main branch]
2022-02-23 13:10:43 -05:00
joe kirchoff
85a12ceb91 [Backout] - CL19094839
#fyi joe.kirchoff
Original CL Desc
-----------------------------------------------------------------
[Backout] - CL18683346
#fyi Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: Ensure name suffixes are added if the TargetName is replaced in UEBuildTarget (manually merge due to conflict)

#rnx
#rb none
#preflight 61e9e7f6ab6e1cc028bd372a

[CL 19094975 by joe kirchoff in ue5-main branch]
2022-02-23 12:59:47 -05:00
joe kirchoff
e876024f01 [Backout] - CL18683346
#fyi Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: Ensure name suffixes are added if the TargetName is replaced in UEBuildTarget (manually merge due to conflict)

#rnx
#rb none
#preflight 61e9e7f6ab6e1cc028bd372a

[CL 19094839 by joe kirchoff in ue5-main branch]
2022-02-23 12:54:09 -05:00
Joe Kirchoff
fa7fe99bcc UnrealBuildTool Preprocessor: Support gathering list of includes when parsing files
#rnx
#rb trivial
#preflight none

[CL 19081701 by Joe Kirchoff in ue5-main branch]
2022-02-22 16:49:35 -05:00
Joe Kirchoff
33aed05f65 UnrealBuildTool Preprocessor: Handle additional builtin identifiers
#rnx
#rb trivial
#preflight none

[CL 19079872 by Joe Kirchoff in ue5-main branch]
2022-02-22 15:51:36 -05:00
Joe Kirchoff
5e628ba17a UnrealBuildTool Preprocessor: Support headers in Xcode framework paths
#rnx
#rb trivial
#preflight none

[CL 19077393 by Joe Kirchoff in ue5-main branch]
2022-02-22 14:21:28 -05:00
Joe Kirchoff
ade218e8a9 UnrealBuildTool Preprocessor: Support I32 integer suffix
#rnx
#rb trivial
#preflight none

[CL 19077352 by Joe Kirchoff in ue5-main branch]
2022-02-22 14:19:42 -05:00
chris constantinescu
c8cb8f0b04 Module-level setup/teardown with the help of source file build order overrides.
- optional alter of source file build order: towards beginning or end
- test build: correctly handle inclusion of special dependencies such as Engine, Editor, CoreUObject and ApplicationCore
- existing tests: add setup and teardown tests that initialize test modules. This causes setup and teardown to be local to module instead of global, which was not the correct way to run tests across multiple modules.

#preflight 62151e43dc0170cfb3649ee8
#rb Jermoe.Delattre

[CL 19076600 by chris constantinescu in ue5-main branch]
2022-02-22 13:52:35 -05:00
jonathan adamczewski
2c3a702a8c Upgrade to nuget package Microsoft.Win32.Registry 5.0.0
#trivial
#jira none
#rnx
#preflight 62149c809e2201e214fe1a6c

[CL 19076594 by jonathan adamczewski in ue5-main branch]
2022-02-22 13:52:23 -05:00
jonathan adamczewski
25853a88d2 Use a more appropriate & enduring link to upstream source
#jira none
#trivial
#rnx
#preflight skip

[CL 19076550 by jonathan adamczewski in ue5-main branch]
2022-02-22 13:50:11 -05:00
jonathan adamczewski
a779317959 UnrealBuildTool: Fixes for quoting of defines for ISPC command line
#jira UE-143406
#preflight 6214864d3577e44741abe7a9

[CL 19069577 by jonathan adamczewski in ue5-main branch]
2022-02-22 02:08:05 -05:00
robert millar
5811293e2a Add TargetRules.bFNameOutlineNumber as an option to reduce the size of FName by 4 bytes by storing the number in the name table.
Adds a define UE_FNAME_OUTLINE_NUMBER.
Removes of FName, FMinimalName from memory image support. Adds of FMemoryImageName.
Removal of FMinimalName operator<<, all fields made private, size made variable.
All fields of FScriptName made private.
Added console commands for dumping numbered/unnumbered names and stats.

#rb johan.torp

#ROBOMERGE-OWNER: robert.millar
#ROBOMERGE-AUTHOR: robert.millar
#ROBOMERGE-SOURCE: CL 19058026 via CL 19058611 via CL 19058656 via CL 19061727 via CL 19061740 via CL 19064047
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v918-19018356)

[CL 19066701 by robert millar in ue5-main branch]
2022-02-21 02:35:48 -05:00
Joe Kirchoff
2bfe3779a4 UnrealBuildTool: Remove VS2022 17.1 toolchain ban as it is no longer needed
#rb none
#rnx
#preflight none

[CL 19050754 by Joe Kirchoff in ue5-main branch]
2022-02-18 11:13:57 -05:00
Joe Kirchoff
e2bf2943b2 UnrealBuildTool: Add ban list of known bad MSVC toolchains
#rnx
#rb trivial
#preflight none

[CL 19046204 by Joe Kirchoff in ue5-main branch]
2022-02-17 20:39:42 -05:00
Joe Kirchoff
4b847a2c11 UnrealBuildTool: Fix path for unit test project
#rb trivial
#rnx
#preflight none

[CL 19045360 by Joe Kirchoff in ue5-main branch]
2022-02-17 19:09:11 -05:00
Tim Smith
cd07867bf6 1) Adding new collection of UE types into C#
2) Enhancements to StringView and a few other helper classes
3) New UE style ignore case comparison
4) Moved shared UHT definitions into a common C# file.

#rb jonathan.adamczewski
#rnx
#preflight 620e3cdc8b6428e701a24666

[CL 19033446 by Tim Smith in ue5-main branch]
2022-02-17 07:40:56 -05:00
Brandon Schaefer
664b43df5f implement Turnkey GetDevices() for Linux.
#jira UE-141524
#rb none
#fyi Josh.Adams
#preflight 620d98647e2cef4bf1c4520c

[CL 19027719 by Brandon Schaefer in ue5-main branch]
2022-02-16 19:43:00 -05:00
Joe Kirchoff
9f494a0864 UnrealBuildTool: Log PVS-Studio failure as an error
#rnx
#rb trivial
#preflight 620d58683609e19371479143

[CL 19020701 by Joe Kirchoff in ue5-main branch]
2022-02-16 15:16:28 -05:00
Brandon Schaefer
651a65add0 Disable ASan leak detector by default. While it does detect leaks we have many many leaks that are not proper in UEs term which mean we ignore all the current leaks.
Need to look into a suppression file for these so we can re-enable this

#jira none
#rb Michael.Sartain, Robert.Seiver
#preflight trivial

[CL 19017210 by Brandon Schaefer in ue5-main branch]
2022-02-16 12:41:56 -05:00
David Harvey
0e7d1bfac7 Windows-based platform extensions use the same icon resource as normal Win64.
#jira UE-131865
#preflight 620d28d5b71c717652f297ff
#rb Eric.McDaniel

[CL 19016923 by David Harvey in ue5-main branch]
2022-02-16 12:29:46 -05:00
andrew rodham
8e68adf03a Exposed UBT relative base dir behavior to public api so it can be consumed by external codegen tools
#rb Markus.Breyer
#preflight 62072cea8841ff1b4f979b7e

#ROBOMERGE-AUTHOR: andrew.rodham
#ROBOMERGE-SOURCE: CL 18984423 via CL 18988224 via CL 18988983 via CL 18989416 via CL 18992730 via CL 18993078
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18997809 by andrew rodham in ue5-main branch]
2022-02-15 11:59:13 -05:00
robert millar
79c81fc408 Add support for bRetainFramePointers to LinuxToolChain.
Add command line argument for bRetainFramePointers.

#rb brandon.schaefer
[FYI] nuno.leiria

#ROBOMERGE-AUTHOR: robert.millar
#ROBOMERGE-SOURCE: CL 18981122 via CL 18981257 via CL 18981859 via CL 18982123 via CL 18982359 via CL 18992714 via CL 18993053
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18997362 by robert millar in ue5-main branch]
2022-02-15 11:35:34 -05:00
axel riffard
bc6314afa5 Remove iOS 13 from plist to enforce minimum supported version of iOS 14
#jira UE-142733
#rb jack.porter
#preflight 620b30c901253d2e19c78946

#ROBOMERGE-AUTHOR: axel.riffard
#ROBOMERGE-SOURCE: CL 18992443 in //UE5/Release-5.0/... via CL 18992633 via CL 18992986
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18997273 by axel riffard in ue5-main branch]
2022-02-15 11:32:47 -05:00
jeff fisher
975a0e6a2c UE-133356 HoloLens platform does not show in Platforms dropdown
UE-134396 Engine not taking correct HoloLens SDK
-Because the HoloLensTargetPlatform module was defined in a plugin it was missed by code which checks for the existence of such modules very early in editor startup, before any plugins are loaded.  This meant that parts of the editor never found that compiled support existed.  Other parts did so the packaging options would show up, but the menu layout was incorrect.  Possibly other features were also breaking based on this cached data saying that the platform had no support.
-We are moving the modules out of the HoloLensAR plugin into Engine/Source/Developer/HoloLens, like all other non-extension platforms.
-It was also discovered that HoloLensPlatformProperties did not enable virtual texture support.  Because HoloLens currently shares SM5 shaders with windows and the code that decides what platform properties to use for SM5 simply applies the first SM5 properties it finds shaders could be built with or without virtual texture support arbitrarily.  As a temporary fix we have enabled virtual texture support for hololens.  The properties are now the same and it doesn't matter which is chosen.  At present the windows properties are found first.
-Deleting the now empty HoloLensAR plugin.  This results in a pop up warning when opening a project which had this plugin enabled, but 5.0 seems as good a time as any for that to happen.
-Removed the now missing HoloLensAR from several projects and templates that enabled it.
-Fixed a project material that needed a new flag set for ue5.
#rb Josh.Adams Rob.srinivasiah steve.smith
#jira UE-133356 UE-134396
#preflight 620a7e7017632e94845adafd
#preflight 620a857bd332bab8531f49bb

#ROBOMERGE-AUTHOR: jeff.fisher
#ROBOMERGE-SOURCE: CL 18983886 in //UE5/Release-5.0/... via CL 18985213 via CL 18987568
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18987907 by jeff fisher in ue5-main branch]
2022-02-14 18:27:33 -05:00