Commit Graph

1499 Commits

Author SHA1 Message Date
bryan sefcik
704f511baf Optimized GatherDependencyModules and CreateSharedPCHInstances
#preflight 64389001930b3b849258ee44

[CL 25035146 by bryan sefcik in ue5-main branch]
2023-04-13 19:53:33 -04:00
Tim Smith
5a4c8c3cee Fixed issue where the check for first header include was not being reported as an actual warning/error.
#rb ryan.hummer
#preflight 6436c029b67b6017ea5b9ff9

[CL 25007285 by Tim Smith in ue5-main branch]
2023-04-12 10:51:39 -04:00
Josh Adams
1e6ed89565 - Frameworks working on Mac with Modern Xcode just like IOS frameworks
- Update frameworks with a Framework mode to differentiate between linking with it and copying to .app (in case of a static lib framework, or load-only dylib
- Updated CEF3 to work as a normal framework (if we have a universal framework binary, it would be simpler, because LoadInMain() would work without any paths)
#rb roman.dzieciol
#preflight 643484117536ac6b78ae7ce3

[CL 24985043 by Josh Adams in ue5-main branch]
2023-04-10 18:08:40 -04:00
Jeff Fisher
25ff24a7b1 UE-181824 Move HeadMountedDisplay files to XRBase plugin to reduce UE overhead.
-Moving much of engine/source/runtime/headmounteddisplay to a plugin mainly to reduce minimum UE executable size and memory use.  But this is also nice for organization.  The ideal would be to move everything except interfaces used by core engine. VREditor pulling in UMotionControllerComponent is the main blocker at this time.  That dependency is expected to go away eventually at which point we can do the rest of this transfer.
-Added dependencies to XRBase plugin or module as necessary, refactored to avoid some dependencies, removed a few unnecessary dependencies.
-Stripped vestigial VR references from a few project templates.  Mostly just unused HeadMountedDisplay module refs, but a tiny bit of code from TP_Puzzle.
-Fixed dependency cycle ignores related to MaterialShaderQualitySettings PIEPreviewDeviceProfileSelector and UnrealEd.  For reasons I do not understand the HeadMountedDisplay dependency on AugmentedReality was preventing the detection of those, long existent, cycles.
#jira UE-181824
#review
#rb Robert.Srinivasiah
#preflight 642f3cbf4c3ccbbdf1990a1f  6434291c28551807175e1142

[CL 24984065 by Jeff Fisher in ue5-main branch]
2023-04-10 17:12:32 -04:00
saam barati
33186743fe Fix areas where I used spaces instead of tabs in 24959203
#rb none
#preflight none

[CL 24984001 by saam barati in ue5-main branch]
2023-04-10 17:09:31 -04:00
saam barati
3ea476b189 Fix duplicative include after 24959203
#jira none
#preflight none
#rb none

[CL 24960511 by saam barati in ue5-main branch]
2023-04-06 19:45:14 -04:00
saam barati
d38bd62f99 Land public UBT portions of SOL-4383
#preflight 642dca73c6769c6082fc8693
#rb Phil.Pizlo
#rb Andrew.Scheidecker

This patch makes it possible to generate header files in a way that the Verse VM will take advantage of.

[CL 24960308 by saam barati in ue5-main branch]
2023-04-06 19:30:49 -04:00
Luke Thatcher
d566d29fa9 Undo //UE5/Main/... changelist 24869066 due to build errors.
#rb none
#jira none
#preflight 642c50afc6769c60826710d3

[CL 24913159 by Luke Thatcher in ue5-main branch]
2023-04-04 12:54:16 -04:00
joe kirchoff
df0f7f9e42 UnrealBuildTool: Actually add the modules listed in the .uproject to the build list, except for Programs listed in ProgramAllowList
#preflight 64261d089621ba9cb471eb6b

[CL 24876613 by joe kirchoff in ue5-main branch]
2023-03-31 15:20:33 -04:00
Luke Thatcher
abed07b9f6 Remove NullRHI module from non-desktop builds
- Marked RHI modules with an [RHIModule] C# attribute, so UBT can determine how many RHIs are being included in the build via standard module references.
 - Refactored the "fixed RHI class" macros to automatically de-virtualize RHI command calls. WITH_FIXED_RHI_CLASS is always defined to 1 if there's only a single RHI module included in the build.

Unified "-rhivalidation" command line switch handling.

#rb mihnea.balta
#preflight 64247bb8c42c7fd1cb5fc582

[CL 24869066 by Luke Thatcher in ue5-main branch]
2023-03-31 06:32:14 -04:00
joe kirchoff
e2d4a4e37e [Backout] - CL24859233
[FYI] Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: Actually add the modules listed in the .uproject to the build list

#preflight 6425de8f9621ba9cb45ca1c6

[CL 24868097 by joe kirchoff in ue5-main branch]
2023-03-31 02:57:45 -04:00
joe kirchoff
5fd9100c5c UnrealBuildTool: Actually add the modules listed in the .uproject to the build list
#preflight 6425de8f9621ba9cb45ca1c6

[CL 24867869 by joe kirchoff in ue5-main branch]
2023-03-31 02:42:58 -04:00
Joe Kirchoff
60234ab3bb UnrealBuildTool: Update support for minimum cpu arch for x64 platforms. Replaces ModuleRules.bUseAVX
* Add MinimumCpuArchitectureX64 enum, valid values are None, AVX, AVX2, & AVX512. Default value is None
* Obsolete boolean bUseAVX in favor of MinCpuArchX64
* Add MinCpuArchX64 setting to TargetRules
* Add Optional MinCpuArchX64 to ModuleRules, will override any target setting if not null
* Only pass this /arch for x64 platforms
* Can be controlled on the command line with -MinCpuArchX64=

#jira UE-181851
#rb Bryan.Sefcik
#preflight 6425fc7f91589478cdc7867c

[CL 24861220 by Joe Kirchoff in ue5-main branch]
2023-03-30 17:52:50 -04:00
bryan sefcik
241a1f79d2 Fixed an issue where other target test settings would leak into other tests.
#rb joe.kirchoff
#preflight 6424cc08b01a25d6a00b5cd1

[CL 24848706 by bryan sefcik in ue5-main branch]
2023-03-29 20:09:34 -04:00
robert millar
240c37b769 Link natvis files from module directories into binary debug info.
#rb joe.kirchoff

[CL 24824604 by robert millar in ue5-main branch]
2023-03-28 15:31:18 -04:00
brandon schaefer
547593db87 Move to adding a TargetRules bool for using AutoRTFM Compiler
#rb Neil.Henning
[FYI] Michael.Nicolella
#preflight 6421fdc6973e609670b97622

[CL 24824162 by brandon schaefer in ue5-main branch]
2023-03-28 15:14:44 -04:00
Joe Kirchoff
2a261c113d EpicGames.Core: Obsolete ReadOnlyHashSet in favor of IReadOnlySet
#rb Ben.Marsh
#preflight 641e1145a86ae7cbcc86bc53

[CL 24789316 by Joe Kirchoff in ue5-main branch]
2023-03-24 17:59:47 -04:00
Joe Kirchoff
78cc2f35ee UnrealBuildTool: Fix issue where -SingleFile was writing a makefile without linked outputs
#preflight 641ce79f974dfaa53cb33439

[CL 24770594 by Joe Kirchoff in ue5-main branch]
2023-03-23 20:04:28 -04:00
joe kirchoff
22d71006f0 UnrealBuildTool: Add SupportedTargetTypes attribute, allowing for ModuleRules to be marked as supported for only specific TargetTypes (Editor, Game, Client, Server).
* Add SupportedPlatformGroup attribute, which will resolve to a SupportedPlatform attribute that contains all the platforms in that group
* Allow SupportedConfigurations attribute on ModuleRules
* Filter out -AllModules plugin modules that are unsupported
* Print warning with reference chain when a module is referenced but unsupported

#jira UE-177807
#preflight 641a3684ee0aed1347594abc
#rb Francis.Hurteau

[CL 24756436 by joe kirchoff in ue5-main branch]
2023-03-22 19:44:40 -04:00
avudnez
ed061d2ae4 PR #10269: Add TargetRules.bWarnAboutMonolithicHeadersIncluded to control UE_IS_? (Contributed by avudnez)
#preflight 6419e728bb1320be412c3fbd

[CL 24734730 by avudnez in ue5-main branch]
2023-03-21 13:24:47 -04:00
tim smith
d790b6cc5a Fixed UBT log event level check that resulted is massive spam to the logger.
#rb josh.adams
#preflight 6419c7b93f3d31c94a042007

[CL 24734531 by tim smith in ue5-main branch]
2023-03-21 13:15:39 -04:00
henrik karlsson
3f6b2896a8 [UnrealBuildTool]
* Added experimental executor "Box"

#preflight 6414e9a4ca2afe3ee6c35c9a
#rb partly joe.kirchoff (not the Box code part)

[CL 24702059 by henrik karlsson in ue5-main branch]
2023-03-18 01:42:55 -04:00
Joe Kirchoff
dd3e8bd3ad UnrealBuildTool: Fix null warning
#preflight 6414dd7f691c5ebc15bc0828

[CL 24697053 by Joe Kirchoff in ue5-main branch]
2023-03-17 17:41:50 -04:00
Joe Kirchoff
0846b9bf69 UnrealBuildTool: Only -SingleFile compile files if they are included in the target. Requires storing the header list in the makefile
#rnx
#rb Josh.Adams
#rb Henril.Karlsson
#preflight 64125819bf53fdee19bbc593

[CL 24665702 by Joe Kirchoff in ue5-main branch]
2023-03-15 20:07:14 -04:00
joe kirchoff
88c89989cd UnrealBuildTool: Update -Deterministic to not have a per module setting as this doesn't work due to PCH requirements and instead add a setting to control warning level
#rb Henrik.Karlsson

[CL 24647188 by joe kirchoff in ue5-main branch]
2023-03-14 19:43:44 -04:00