Commit Graph

194 Commits

Author SHA1 Message Date
joe kirchoff
786c49ef4e UnrealBuildTool: Reenable cplusplus.PlacementNew, core.uninitialized.ArraySubscript, & core.StackAddressEscape checkers to be addressed
#rnx

[CL 33213518 by joe kirchoff in ue5-main branch]
2024-04-24 17:19:35 -04:00
henrik karlsson
090adc2630 [UBT]
* Added additional parameter to TypeLibrary logic because some type library compiles creates tli files

#rb joe.kirchoff

[CL 33211773 by henrik karlsson in ue5-main branch]
2024-04-24 16:20:14 -04:00
joe kirchoff
76aa9272e4 UnrealBuildTool: All cplusplus.PureVirtualCall are fixed, reenable
#rnx

[CL 33042677 by joe kirchoff in ue5-main branch]
2024-04-17 14:03:34 -04:00
joe kirchoff
2dc2e1a4e0 Android: Resolve core.VLASize analysis warning by removing unnecessary array
#rnx
#rb Chris.Babcock

[CL 33039244 by joe kirchoff in ue5-main branch]
2024-04-17 12:29:47 -04:00
joe kirchoff
8dd57bcbfa Reenable security.FloatLoopCounter
#rnx

[CL 32990943 by joe kirchoff in ue5-main branch]
2024-04-15 23:44:37 -04:00
joe kirchoff
6f8520e806 Clang Static Analysis build
Remove validate toolchains from ue5-main

#rnx
#rb bryan.johnson

[CL 32980767 by joe kirchoff in ue5-main branch]
2024-04-15 20:19:06 -04:00
joe kirchoff
a20c9fbb9e UnrealBuildTool: Format documents, remove and sort usings
#rnx

[CL 32700883 by joe kirchoff in ue5-main branch]
2024-04-03 12:22:43 -04:00
josh adams
c0f2905ce7 - Added a method for Shared build environment builds to have certain modules marked as caring about SDK version overrides for some platforms - if any of those platforms are overridden, the DLL will be written to the project Binaries dir instead of Engine (set bAllowSDKOverrideModulesWithSharedEnvironment = true in a Target.cs)
- Added ability to optionally skip SDK validation when making a Target instance even if we don't want to skip Target validation (used when we make the base UnrealEditor target to compare to project's Editor target - we don't need to manage SDK for that temporary UnrealEditor target).
- ShaderCompileWorker is now BuildEnvironment.UniqueIfNeeded, which will build into the project binaries dir if needed (based on per-project SDK override)
- UnrealPak is marked as not caring about an SDK versions so it can be built along with SCW that does care
- Added $(BinaryDir) variable to UEBuildTarget, etc, for the location of the first Binary in the output binaries
#rb David.Harvey, Joe.Kirchoff

[CL 31661939 by josh adams in ue5-main branch]
2024-02-20 18:39:20 -05:00
sergio gardeazabal
c75f24913f [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 30877818 by sergio gardeazabal in ue5-main branch]
2024-01-25 00:06:21 -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