186 Commits

Author SHA1 Message Date
sergio gardeazabal
c9022f0cb9 [ChaosVD] Fix CIS issue in Headless Chaos
The issue is happening because CVD support is enabled but UE trace is disabled therefore some methods are still compiled out. This change makes sure CVD code is compiled out if UE trace is also compiled out because CVD depends on it.

#jira UE-204859
[FYI] Benn.Gallagher

[CL 30877836 by sergio gardeazabal in 5.4 branch]
2024-01-25 00:06:36 -05:00
joe kirchoff
f9b0ed8e85 UnrealBuidTool: ModuleRules cleanup pt.3
#rnx

[CL 30434786 by joe kirchoff in ue5-main branch]
2023-12-21 17:54:31 -05:00
joe kirchoff
c7a07a7d89 UnrealBuildTool: ModuleRules cleanup pt.2
#rnx

[CL 30434402 by joe kirchoff in ue5-main branch]
2023-12-21 17:38:34 -05:00
joe kirchoff
866d76230c UnrealBuildTool: ModuleRules cleanup pt.1
#rnx

[CL 30433894 by joe kirchoff in ue5-main branch]
2023-12-21 17:02:45 -05:00
joe kirchoff
3c7ba92612 UnrealBuildTool: ModuleRules cleanup pt. 1
#rnx

[CL 30422560 by joe kirchoff in ue5-main branch]
2023-12-20 17:54:40 -05:00
matt johnson
19a5270ad5 UBT: add "bVcRemoveUnreferencedComdat" ModuleRules property to control whether /Zc:inline is enabled with MSVC
#rb Joe.Kirchoff

[CL 30329213 by matt johnson in ue5-main branch]
2023-12-14 15:09:30 -05:00
joe kirchoff
fbc3e63d8a UnrealBuildTool: Set UE_VALIDATE_INTERNAL_API to control the define UE_INTERNAL which will be set to an empty macro for Engine modules and [[deprecated]] for non-engine modules. This will create a pch variant but will allow a way to stop (or at least discourage) the use of internal code that needs to be in public headers for performance or historical reasons, as well as a way to migrate internal code out of public headers over the span of a few releases
#jira UE-201038
#rb David.Harvey, Devin.Doucette

[CL 30172737 by joe kirchoff in ue5-main branch]
2023-12-06 19:31:44 -05:00
chris constantinescu
f6d7ed67ff Capture a module's low level tests from any folder - removes restriction to only modules with a "Tests" folder.
#rb Jerome.Delattre-qa-sdets
#jira UE-200920

[CL 29873364 by chris constantinescu in ue5-main branch]
2023-11-21 14:55:47 -05:00
bob tellez
2622494073 [Backout] - CL29418739, restoring 29416045
Original CL Desc
-----------------------------------------------------------------
New VerseScope "InternalUser" and renamed "User" to "PublicUser"

- new enumerator for VerseScope named "InternalUser"
- renamed existing VerseScope "User" to "PublicUser" - this is possible without breaking existing projects since the VerseScope is not written out to the uplugin file when it is set to "User"

#rb andrew.scheidecker
#rnx

[CL 29419291 by bob tellez in ue5-main branch]
2023-11-03 16:08:07 -04:00
bob tellez
08cd9760a6 [Backout] - CL29416045
[FYI] Markus.Breyer
Original CL Desc
-----------------------------------------------------------------
New VerseScope "InternalUser" and renamed "User" to "PublicUser"

- new enumerator for VerseScope named "InternalUser"
- renamed existing VerseScope "User" to "PublicUser" - this is possible without breaking existing projects since the VerseScope is not written out to the uplugin file when it is set to "User"

#rb andrew.scheidecker
#rnx

[CL 29418991 by bob tellez in ue5-main branch]
2023-11-03 16:01:34 -04:00
markus breyer
7e623a0aeb New VerseScope "InternalUser" and renamed "User" to "PublicUser"
- new enumerator for VerseScope named "InternalUser"
- renamed existing VerseScope "User" to "PublicUser" - this is possible without breaking existing projects since the VerseScope is not written out to the uplugin file when it is set to "User"

#rb andrew.scheidecker
#rnx

[CL 29416324 by markus breyer in ue5-main branch]
2023-11-03 14:58:25 -04:00
david harvey
916805a126 Adding a module groups attribute for module rules.
Expected usage:

```
[ModuleGroups("MyGroup"]
public class MyModule : ModuleRules {... }

public class MyOtherModule : ModuleRules
{
    ...
    PrivateDependencyModuleNames.AddRange( GetModulesInGroup("MyGroup") );
}
```

#rnx
#rb Josh.Adams

[CL 29270167 by david harvey in ue5-main branch]
2023-10-31 06:32:45 -04:00
joe kirchoff
ac8b621482 UnrealBuildTool: Add a few additional CompilationResult so .cs issues can be detected by horde more easily
#jira UE-197248

[CL 28597572 by joe kirchoff in ue5-main branch]
2023-10-09 16:37:58 -04:00
chris constantinescu
1aeb7faa75 LLT: Pre-analyse dependency graph of low level test targets before setting compilation flags for UE components
Use -Mode=Test by default for all LLT Project to enable pre-analysis of dependency graph.
#jira UE-193632
#rb Sean.Sweeney

[CL 28313218 by chris constantinescu in ue5-main branch]
2023-09-28 06:52:15 -04:00
jeff fisher
46724f146f UE-195321 InternalncludePaths typo (missing I on Include)
#jira UE-195321
#rb Francis.Hurteau

[CL 27834268 by jeff fisher in ue5-main branch]
2023-09-13 11:55:50 -04:00
tim smith
d758896471 Move VerseVM to CoreUObject to facilitate the merging of UEGC and VerseGC
#rb saam.barati phil.pizlo

[CL 27374952 by tim smith in ue5-main branch]
2023-08-25 09:08:53 -04:00
joe kirchoff
9b2f302d4b UnrealBuildTool: Always enable ValidateFormatStrings for engine modules, and create a pch variant for modules that opt out
#rnx

[CL 27352456 by joe kirchoff in ue5-main branch]
2023-08-24 14:59:44 -04:00
joe kirchoff
092ff454ad [Backout] - CL27330584
[FYI] Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: Always enable ValidateFormatStrings for engine modules, and create a pch variant for modules that opt out

#rnx

[CL 27331965 by joe kirchoff in ue5-main branch]
2023-08-23 22:16:13 -04:00
joe kirchoff
c0b34f9bb3 UnrealBuildTool: Always enable ValidateFormatStrings for engine modules, and create a pch variant for modules that opt out
#rnx

[CL 27330607 by joe kirchoff in ue5-main branch]
2023-08-23 20:55:29 -04:00
andrew scheidecker
36ed1de4ba Add UBT options that allow per-target and per-module choice between "precise" or "imprecise" FP semantics.
#rb Fabian.Giesen, Joe.Kirchoff

[CL 26615577 by andrew scheidecker in ue5-main branch]
2023-07-26 14:23:55 -04:00
Josh Adams
2a106c7450 - Added a few new properties to ModuleRules (.Build.cs files) to make handling PlatformExtensions easier to manage platform extensions:
* bIsPlatformExtension - true if there's a platform extension .Build.cs with a subclass
  * PlatformDirectory - location of the main Build.cs or the platform extension's subclass Build.cs
  * PlatformModuleDirectory - string version of above
  * PlatformSubdirectoryName - this is the name underneath the ModuleDirectory that platform files are in, or '.' (because platform extensions are already under a platform dir, we don't add another directory - there would be ThirdParty/MyLib/MyPlatform/foo.lib vs Platforms/MyPlatform/ThirdParty/MyLib/foo.lib, in the extension case, there's no MyPlatform directory underneath the module dir)

- With these changes, basic Build.cs files can be written without needing to know if a platform is an extension or not, and the extension subclasses can be much simpler
#rb david.harvey

[CL 26483586 by Josh Adams in ue5-main branch]
2023-07-20 08:31:25 -04:00
joe kirchoff
990f2dc5da UnrealBuildTool: Fix SupportedPlatformGroups check when unsupported platforms aren't registered into a group
#rnx
#jira UE-187586

[CL 26331923 by joe kirchoff in ue5-main branch]
2023-06-29 19:48:17 -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