Commit Graph

403 Commits

Author SHA1 Message Date
josh adams
ea14a1c312 - Updated the logging for mismatched build settings that require UniqueBuildEnvironment to show the values that don't match
#rb Tim.Smith

[CL 31291509 by josh adams in ue5-main branch]
2024-02-08 10:08:52 -05:00
steve robb
9fa9b31697 Added UE_DEPRECATED_FORENGINE deprecation warnings for engine modules, and TargetRules.bDisableEngineDeprecations to silence engine deprecations in non-engine modules, to allow incremental fixup. Disabling engine deprecations should be regarded as short-term to allow incremental fixup.
#rb Joe.Kirchoff

[CL 31185022 by steve robb in ue5-main branch]
2024-02-05 14:40:33 -05:00
christopher waters
b68c15055f Deprecating IntelMetricsDiscovery and removing its integration from D3D11RHI.
#jira UE-205382
#rb Luke.Thatcher

[CL 31061418 by christopher waters in ue5-main branch]
2024-01-31 15:27:18 -05:00
christopher waters
0730f01005 Adding and switching to the 5.5 include order version.
#rb Joe.Kirchoff

[CL 31016012 by christopher waters in ue5-main branch]
2024-01-30 14:27:39 -05:00
will brown
edb945565f Renaming IgnorePluginDependency
[CL 30870303 by will brown in ue5-main branch]
2024-01-24 20:02:21 -05:00
joe kirchoff
108ecd4b28 UnrealBuildTool: Mark an obsolete TargetRule as Deprecated
#rnx

[CL 30424330 by joe kirchoff in ue5-main branch]
2023-12-20 19:50:51 -05:00
joe kirchoff
2ccf3f04b3 UnrealBuildTool: TargetRules cleanup
* Change (most) fields to properties
* Naming rule fixes for local variables
* Remove unnecessary default values
* Move ReadOnlyTargetRules to new file
* Remove RequiresUniqueBuildEnvironment from obsolete properties
* Document formatting

#rnx

[CL 30415265 by joe kirchoff in ue5-main branch]
2023-12-20 12:39:13 -05:00
joe kirchoff
fd9000041f UnrealBuildTool: Support -LoadTargets for Querying available targets that will load each Target.cs so the actual list of supported platforms and configurations can be returned
#rnx

[CL 30253853 by joe kirchoff in ue5-main branch]
2023-12-11 19:20:58 -05:00
will brown
e620d0b82c TargetRules can filter referenced plugins to determine if it should be ignored from the build.
#rb Joe.Kirchoff

[CL 30198272 by will brown in ue5-main branch]
2023-12-07 19:34:52 -05:00
josh adams
0ae7bb4007 [Backout] - CL30103804
[FYI] alex.kahn
Original CL Desc
-----------------------------------------------------------------
[Backout] - CL30097541 - CIS Warning
[FYI] Josh.Adams
Original CL Desc
-----------------------------------------------------------------
- Added a new TargetBuildEnvronment - UniqueIfNeeded. This will use Shared if possible, but if a property that requires unique environment, of a project has overridden an SDK version, Unique will beused instead
#rb joe.kirchoff

[CL 30118373 by josh adams in ue5-main branch]
2023-12-05 10:00:51 -05:00
alex kahn
3a28b419ea [Backout] - CL30097541 - CIS Warning
[FYI] Josh.Adams
Original CL Desc
-----------------------------------------------------------------
- Added a new TargetBuildEnvronment - UniqueIfNeeded. This will use Shared if possible, but if a property that requires unique environment, of a project has overridden an SDK version, Unique will beused instead
#rb joe.kirchoff

[CL 30103827 by alex kahn in ue5-main branch]
2023-12-04 19:40:01 -05:00
josh adams
41853b01e6 - Added a new TargetBuildEnvronment - UniqueIfNeeded. This will use Shared if possible, but if a property that requires unique environment, of a project has overridden an SDK version, Unique will beused instead
#rb joe.kirchoff

[CL 30097554 by josh adams in ue5-main branch]
2023-12-04 17:25:57 -05:00
joe kirchoff
e55f9ea3dd UnrealBuildTool: DeprecationWarningLevel RequiresUniqueBuildEnvironment
#rnx

[CL 30088928 by joe kirchoff in ue5-main branch]
2023-12-04 13:32:44 -05:00
jeremie roy
f7e6f57e1c Allow adding optional plugin build dependencies using a target.cs file
#rb joe.kirchoff

[CL 29694706 by jeremie roy in ue5-main branch]
2023-11-13 16:26:25 -05:00
joe kirchoff
ddd689b0ac UnrealBuildTool: Always use separate intermediate environment for analysis
#rnx

[CL 29540915 by joe kirchoff in ue5-main branch]
2023-11-07 18:46:26 -05:00
joe kirchoff
8f17da3353 UnrealBuildTool: If there is an exeception validating TargetRules, print any upgrade warnings as those settings are probably related
#rnx

[CL 29245074 by joe kirchoff in ue5-main branch]
2023-10-30 15:36:02 -04:00
mastercoms
4e0b9a7faa PR #10774: Add target rule for ALLOW_CONSOLE_IN_SHIPPING define
#jira UE-193400

[CL 28732376 by mastercoms in ue5-main branch]
2023-10-12 17:56:08 -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
joe kirchoff
d6b2c9077a UnrealBuildTool: Support emiting line tables only for debugging rather than disabling debug info entirely
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]
2023-10-06 17:13:05 -04:00
joe kirchoff
46eab319e3 UnrealBuildTool: Add the ability to disable debugging info for select modules and plugins via TargetRules configuration
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]
2023-10-06 12:28:59 -04:00
joe kirchoff
55dc07301f Prevent unnecessary rebuilds of windows resource files for development builds to reduce how often binaries relink
Only embed info from Build.version in exes and dlls for precompiled or shipping targets. This information is always available at runtime via the BuildSettings module regardless of being embedded in the binaries
Set default windows resource ProductVersion to ENGINE_VERSION_STRING if BUILD_VERSION is not defined

#jira UE-195983
#rb ryan.hummer

[CL 28250002 by joe kirchoff in ue5-main branch]
2023-09-26 17:42:24 -04:00
henrik karlsson
65b9042153 [UBT]
* Added support for pch using header units.

#rb joe.kirchoff

[CL 28138630 by henrik karlsson in ue5-main branch]
2023-09-22 11:51:23 -04:00
david harvey
a1ed175f57 CustomConfig can be specified on the UBT command line
#jira UE-179187
#rnx
#rb Josh.Adams

[CL 27717688 by david harvey in ue5-main branch]
2023-09-08 13:20:07 -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
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