Commit Graph

5715 Commits

Author SHA1 Message Date
wojciech krywult
30742d8364 UBT: Clang: Added support for Clang's -fextend-lifetimes switch which improves debugging experience in optimized builds.
This switch makes the compiler extend lifetimes of local variables, function parameters and 'this' till the end of their scopes increasing the chance for the debugger being able to display their values when debugging.

It may slightly reduce performance so it's an opt-in feature controlled with bOptimizeForDebugging variable in xPlatform sections on supported platforms in BuildConfiguration.xml scripts. Even when set to true, it won't affect Test or Shipping builds.

#rb brian.white
#jira UE-121644
[RN] minor Added support for -fextend-lifetimes compilation switch on selected Clang-based platforms which improves debugging experience of optimized builds by increasing the number of local variables for which the debugger can show values. The feature may slightly reduce performance and is intended to be used in development only. It has to be explicitly activated by setting bOptimizeForDebugging variable in <platform>Platform section of BuildConfiguration.xml. It won't affect Test or Shipping configurations.

[CL 27428905 by wojciech krywult in ue5-main branch]
2023-08-28 18:28:56 -04:00
will brown
1d057fa7ef UnrealBuildTool - Added a warning if a project module is found to have a dependency on a plugin module without listing that plugin as a dependency. The plugin has to be enabled by default or enabled in the .uproject or enabled in the target.cs
#rb Joe.Kirchoff, Bob.Tellez

[CL 27415742 by will brown in ue5-main branch]
2023-08-28 13:17:16 -04:00
Ben Marsh
3f9c43db6c UBT: Build fix.
[CL 27402793 by Ben Marsh in ue5-main branch]
2023-08-26 13:11:40 -04:00
joe kirchoff
e03a20c7fa UnrealBuildTool: Fix distribution not working for -SingleFile by moving several action properties to be set in the shared base action
#rnx

[CL 27396140 by joe kirchoff in ue5-main branch]
2023-08-25 19:09:46 -04:00
joe kirchoff
fc987779ef UnrealBuildTool: Don't remove old EngineIncludeOrderVersion enums to prevent breaking project generation
#rnx

[CL 27387616 by joe kirchoff in ue5-main branch]
2023-08-25 15:08:52 -04:00
zack neyland
62436d2317 Apple: Update runtime to macos 11 and clean up warnings from doing that.
#jira UE-193947

[CL 27387471 by zack neyland in ue5-main branch]
2023-08-25 15:04:47 -04:00
adam kinge
120bf5c5dd Fix iOS & tvOS not being able to set the BundleDisplayName (ie: the App name shown on the iPhone screen) when using Modern
#jira UE-193789
#rb josh.adams

[CL 27375198 by adam kinge in ue5-main branch]
2023-08-25 09:27:14 -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
9a65165b93 UnrealBuildTool: Denote default values for some BuildConfiguration properties
#rnx

[CL 27355920 by joe kirchoff in ue5-main branch]
2023-08-24 16:16:22 -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
neil henning
7072d7f7af Fix the PCH rules when the AutoRTFM compiler is being used.
[CL 27347492 by neil henning in ue5-main branch]
2023-08-24 12:59:31 -04:00
josh adams
2e9e2879a3 - Building MacPlatformEditor and MacTargetPlatform so that the Xcode Projects settings show up in the Windows editor, for remote IOS building
#jira UE-193734
#rb

[CL 27345511 by josh adams in ue5-main branch]
2023-08-24 12:28:36 -04:00
josh adams
ff4cc0abee - Fixed plist generation for TVOS BP projects
#jira UE-193518
#rb Adam.kinge

[CL 27340722 by josh adams in ue5-main branch]
2023-08-24 10:22:47 -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
joe kirchoff
40521adeca Clang static analysis requires unity builds to be disabled
#rnx

[CL 27329915 by joe kirchoff in ue5-main branch]
2023-08-23 20:33:44 -04:00
brandon schaefer
0630515e82 GetMainVersion now requires a registered platform, which only can be done from the Linux SDK that was first registered. Current StripSymbols was making a new LinuxPlatformSDK which wont be registered and fails getting the MainVersion
Now we will use the existing LinuxPlatfromSDK or if doesn't exist make a new one and correctly register it

#jira UE-193418
#rb Josh.Adams, Zack.Neyland

[CL 27323816 by brandon schaefer in ue5-main branch]
2023-08-23 17:56:35 -04:00
josh adams
2995eb5c58 - Fixed codesigning of UnrealGame made with -createstub (will use dummy signing, which doesn't need a cert/provision pair, so will be signed the same way UnrealGame is signed without making a stub)
#jira UE-193672
#rb Calvin.zheng

[CL 27320434 by josh adams in ue5-main branch]
2023-08-23 17:05:44 -04:00
kirill zorin
6b206ca86d Turning on FormatStringSan in UBT
#rb joe.kirchoff

[CL 27314833 by kirill zorin in ue5-main branch]
2023-08-23 14:49:29 -04:00
neil henning
f222493c8a Make CPP files on windows depend on the AutoRTFM compiler version if we are using it.
#rb joe.kirchoff

[CL 27302143 by neil henning in ue5-main branch]
2023-08-23 07:19:35 -04:00
joe kirchoff
d248ec932f UnrealBuildTool: Add WindowsTargetRule setting for PDB page size
#rnx

[CL 27292108 by joe kirchoff in ue5-main branch]
2023-08-22 19:00:20 -04:00
josh adams
ecce4e7680 - Brought back Legacy style temp keychain method because IPP cannot currently re-sign Frameworks embedded in a .app
#jira UE-193511
#rb axel.riffard

[CL 27279039 by josh adams in ue5-main branch]
2023-08-22 14:03:26 -04:00
arciel rekman
cb5b870cfc UBT: Add AVX arch support to Linux toolchains.
#rb Brandon.Schaefer, Joe.Kirchoff
[REVIEW] [at]Brandon.Schaefer, [at]Joe.Kirchoff
#rnx

[CL 27251505 by arciel rekman in ue5-main branch]
2023-08-21 15:58:31 -04:00
joe kirchoff
94452e2f5d UnrealBuildTool: Update BuildSettingVersion for temp generated projects
#rnx

[CL 27247806 by joe kirchoff in ue5-main branch]
2023-08-21 14:31:25 -04:00
robert srinivasiah
3e991908f7 UBT: Generate RulesFileCache for temporary targets created for hybrid projects
When we have hybrid projects, we add temporary target and build files in Intermediate/Source. We need to regenerate the RulesFileCache for that temporary folder.
If we don't, our 'initial' attempt to BuildCookRun a project will fail because we won't discover any target files because of an invalid cache entry.

#jira UE-190114 UE-193398
#rb Kriss.Gossart Jeff.Fisher

[CL 27246945 by robert srinivasiah in ue5-main branch]
2023-08-21 14:09:10 -04:00