Configuration is the same as TargetRules.DebugInfo and will override that setting except when debug info is disabled for the entire target
[CL 28558101 by joe kirchoff in ue5-main branch]
Obsolete bDisableDebugInfo and replace with TargetRules.DebugInfo which is a flags enum DebugInfoMode. TargetRules.DebugInfo can be set to any or all of [Engine, EnginePlugins, Project, ProjectPlugins], whichever flags are set will have debug info enabled for the modules in those groups if the Target would otherwise has debug info enabled
* DebugInfoMode.None is equalivant to bDisableDebugInfo=true (-NoDebugInfo will still set this)
* DebugInfoMode.ProjectOnly = Project | ProjectPlugins
* DebugInfoMode.EngineOnly = Engine | EnginePlugins
* DebugInfoMode.Full = Engine | EnginePlugins | Project | ProjectPlugins
* DebugInfoMode.Full is equalivant to bDisableDebugInfo=false (the current default)
Add TargetRules.DisableDebugInfoModules, this is a list of module names that should disable debug info regardless of TargetRules.DebugInfo
Add TargetRules.DisableDebugInfoPlugins, this is a list of plugin names that should disable debug info for all of their modules regardless of TargetRules.DebugInfo
[CL 28544448 by joe kirchoff in ue5-main branch]
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]
[FYI] Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: Respect warning as error setting for clang
#rnx
[CL 27082492 by joe kirchoff in ue5-main branch]
- The in-process project generation was not able to get the .uproject location
- The making and using of the stub xcode projects were using UnrealGame target/scheme, not MyProjectGame (which Xcode makes since it can handle content-only uprojects)
- UnrealGame.app, when just compiling, has no uproject, so it now use the dummy codesigning I added for stub generation, so no projects settings are needed
#jira UE-192593
[CL 27035369 by josh adams in ue5-main branch]
Fix up to date checks for clang static analysis. Note that clang analysis warnings can't be made into error, so subsequent builds will not replay warnings for up to date actions
#rnx
#jira UE-187067
[CL 26794436 by joe kirchoff in ue5-main branch]
- .ini settings for using SwiftUI main function
- this will eanble #defines, etc, to enable some embedded style functionality in UE, where SwiftUI will trigger when to create the engine/view/etc
- assume fully immersive mode, which uses CompositorServices to get drawables from SwiftUI land
- Added some code to FMetalViewport for using Composotir layer/drawable instead of CoreAnimation layer/drawable
- If the .ini setting is false, then it will use the original VIsionOS support which works generally in the simulator
- Also removed -lc++ commandline which was causing "duplicate -lc++" warning when building in recent Xcode
#rb adam.kinge
[CL 26769312 by Josh Adams in ue5-main branch]
- Added some logging to UseModernXcode so it is clear which mode is being used, and why
- Fixed stub creation in modern to use local dummy identity (no need for keychain unlocking), and moved files into Payload directory inside the stub
#jira UE-168571
#rb adam.kinge
[CL 26620618 by josh adams in ue5-main branch]