165 Commits

Author SHA1 Message Date
joe kirchoff
fb3016ef16 UnrealBuildTool: Fix SupportedPlatformGroups check when unsupported platforms aren't registered into a group
#rnx
#jira UE-187586

[CL 26331931 by joe kirchoff in 5.3 branch]
2023-06-29 19:48:38 -04:00
galeone
431c09150e [UBT] Add support for Code coverage on Linux
#rb Brandon.Schaefer, Jerome.Delattre, Joe.Kirchoff

[CL 25794147 by galeone in ue5-main branch]
2023-06-05 12:03:25 -04:00
joe kirchoff
c04da27b3b UnrealBuildTool: More automated code cleanup
#rnx
#preflight 64767efb4b1ead7c7f428c7a

[CL 25693857 by joe kirchoff in ue5-main branch]
2023-05-30 18:59:32 -04:00
joe kirchoff
36d266e932 UnrealBuildTool: Automated code cleanup
#rnx
#preflight 6476799e947ff6973c225619

[CL 25693241 by joe kirchoff in ue5-main branch]
2023-05-30 18:38:07 -04:00
joe kirchoff
57a8fe409c UnrealBuildTool: Use expression body for simple properties and accessors
#rnx
#preflight 64766abcfe6a3b258a04cb50

[CL 25691579 by joe kirchoff in ue5-main branch]
2023-05-30 18:01:50 -04:00
marc audy
b85c7f6304 [Backout] - CL25633679
[FYI] jodon.karlik
Original CL Desc
-----------------------------------------------------------------
UBT: Recursively gather the PublicDependencies and link the entire chain so the writer of a module does not need to understand the linking requirements of every Plugin they use.

#jira UE-166371
#preflight 646fbee150786bb5ba9e2ed2

[CL 25646787 by marc audy in ue5-main branch]
2023-05-26 12:41:53 -04:00
jodon karlik
6c93e02c88 UBT: Recursively gather the PublicDependencies and link the entire chain so the writer of a module does not need to understand the linking requirements of every Plugin they use.
#jira UE-166371
#preflight 646fbee150786bb5ba9e2ed2

[CL 25646395 by jodon karlik in ue5-main branch]
2023-05-26 12:35:49 -04:00
brandon schaefer
918a67f6d9 Support enabling AutoRTFM instrumentation on a Module level in UBT
#rb Neil.Henning, Joe.Kirchoff
#preflight 646655bd743f7c995bc7a7ff

[CL 25532181 by brandon schaefer in ue5-main branch]
2023-05-18 15:44:35 -04:00
christopher waters
3066e73372 Adding ModuleRules.IsPlatformAvailable so build scripts can check platform availability.
#preflight 64483446401d328ad97b2a2e

[CL 25192167 by christopher waters in ue5-main branch]
2023-04-25 19:26:08 -04:00
sergio gardeazabal
d907da5d37 [Chaos VD] Implemented Recording using Trace
- Created a set of macros to trace data about Solver Frames, Solver Steps, and Solver Particles on Rigid Solvers and RBAN solvers
- Added a way to have the context between CVDTrace calls to know which solver started the call on a determined solver step or particle without having to copy that information to every object

#rb benn.gallagher
#jira UE-181330
#preflight 643d9d4c0a5a4b944e348487

[CL 25077633 by sergio gardeazabal in ue5-main branch]
2023-04-17 18:20:36 -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
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
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
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
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
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
Ben Marsh
513a5dbec1 UBT: Fix missing errors/warnings when compiling rules files.
#preflight none

[CL 24586299 by Ben Marsh in ue5-main branch]
2023-03-09 20:00:10 -05:00
Joe Kirchoff
0ad148be67 UnrealBuildTool: ModuleRules CppStandardVersion should be nullable so we can detect when it's actually overridden
#preflight 64066ea48832f48a4ddaee26

[CL 24532882 by Joe Kirchoff in ue5-main branch]
2023-03-06 18:04:01 -05:00
Joe Kirchoff
029b190e08 UnrealBuildTool: Allow overriding bWarningsAsErrors on a per module basis
#rb christopher.waters
#preflight 63ff840ca134e0b0590f38a5

[CL 24464453 by Joe Kirchoff in ue5-main branch]
2023-03-01 12:12:31 -05:00
joe kirchoff
606c42edeb Module include path validation. Disabled until outstanding issues are fixed
#rnx
#jira UE-177808
#rb Tim.Smith

[CL 24412746 by joe kirchoff in ue5-main branch]
2023-02-24 19:01:37 -05:00
ben woodhouse
982c48de6a Add support for overriding module optimization mode from a target. This allows game projects to override engine module optimization modes.
Note: This also implicitly disables PCH usage if a private PCH isn't set (this was previously fatal, but we need to be more flexible if we're overriding from the target).

#rb joe.kirchoff

[CL 24225336 by ben woodhouse in ue5-main branch]
2023-02-14 20:53:08 -05:00