Commit Graph

901 Commits

Author SHA1 Message Date
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
c5ae28e065 Disable UE_DEBUG_SECTION when building with header units because it causes linker errors
[CL 28173711 by henrik karlsson in ue5-main branch]
2023-09-23 14:37:17 -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
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
david harvey
f303e13746 Fix for TargetRules.ToolChainName instantiation failure
#jira UE-179187
#rnx
#rb Francis.Hurteau, Josh Adams

[CL 27524803 by david harvey in ue5-main branch]
2023-08-31 11:42:55 -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
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
tim smith
5252c1e1b3 1) Removed the bUseVerse UBT setting.
2) Removed usage of WITH_VERSE and UE_USE_VERSE_PATHS
3) Modified UBT to always set WITH_VERSE and UE_USE_VERSE_PATHS to one until the setting is completely removed.

#rb Andrew.Scheidecker

[CL 27199531 by tim smith in ue5-main branch]
2023-08-18 08:09:29 -04:00
joe kirchoff
448d2082d2 UnrealBuildTool: Fix generate clang database regression due to alternate intermediate directory
#rnx
#jira UE-193178
#rb Chris.Waters

[CL 27156561 by joe kirchoff in ue5-main branch]
2023-08-16 17:42:49 -04:00
robert millar
2ac24cb374 Add target rules option for enabling trace.
#rb ionut.matasaru

[CL 27011549 by robert millar in ue5-main branch]
2023-08-10 17:10:14 -04:00
markus breyer
828a18c45e New temporary target rule property bUseVerseBPVM
#rb andrew.scheidecker, joe.kirchoff
#rnx

[CL 26996866 by markus breyer in ue5-main branch]
2023-08-10 12:45:45 -04:00
joe kirchoff
5c916d0313 UnrealBuildTool: Fix regression with shared environment path
#rnx
#jira UE-192137

[CL 26852403 by joe kirchoff in ue5-main branch]
2023-08-04 13:12:17 -04:00
joe kirchoff
85db4326a0 UnrealBuildTool: Write files for static analysis to a separate intermediate folder
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]
2023-08-02 20:02:25 -04:00
joe kirchoff
b46695c12e UnrealBuildTool: Ensure generated files are written to the correct intermediate folder name
#rnx

[CL 26780017 by joe kirchoff in ue5-main branch]
2023-08-02 14:02:59 -04:00
robert millar
c1261e2c67 Add natvis files to build outputs and manifest to ensure they are copied to intermediate directory during precompile and tagged in horde builds.
#rb joe.kirchoff
#jira UE-182499

[CL 26720420 by robert millar in ue5-main branch]
2023-07-31 16:50:42 -04:00
joe kirchoff
8349785533 UnrealBuildTool: Correctly mark extra dynamic libraries, executables, map (for Microsoft platforms) and symbol files in the build output list as their correct BuildProductType, rather than the generic RequiredResource
Reported via UDN

#rnx
#rb Josh.Adams
#rb Wojciech Krywult

[CL 26711867 by joe kirchoff in ue5-main branch]
2023-07-31 13:24:22 -04:00
mickael gilabert
5c098879b6 [Backout] - CL26624440
[FYI] joe.kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: Correctly mark extra dynamic libraries, executables, map (for Microsoft platforms) and symbol files in the build output list as their correct BuildProductType, rather than the generic RequiredResource

Reported via UDN

#rb Josh.Adams

[CL 26652060 by mickael gilabert in ue5-main branch]
2023-07-27 15:55:33 -04:00
joe kirchoff
9928420201 UnrealBuildTool: Correctly mark extra dynamic libraries, executables, map (for Microsoft platforms) and symbol files in the build output list as their correct BuildProductType, rather than the generic RequiredResource
Reported via UDN

#rb Josh.Adams

[CL 26625607 by joe kirchoff in ue5-main branch]
2023-07-26 18:29:14 -04:00
christopher waters
cabaf593a1 NonUnity command line arguments should be per-target while build configuration XML settings should be global.
#rb joe.kirchoff

[CL 26590366 by christopher waters in ue5-main branch]
2023-07-25 17:44:34 -04:00
christopher waters
8c0f3d159f Making more TargetDescriptor uses correctly handle different intermediate paths.
Making the global link environment use the modified intermediate path.

#rb joe.kirchoff

[CL 26525866 by christopher waters in ue5-main branch]
2023-07-21 17:01:15 -04:00
joe kirchoff
3531513910 UnrealBuildTool: Shorten NonUnity folder suffix
#rnx

[CL 26517925 by joe kirchoff in ue5-main branch]
2023-07-21 13:31:07 -04:00
christopher waters
47426db352 Adding UnrealIntermediateEnvironment to allow different intermediate paths based on build settings.
This removes the old hack that renames the target based on nonunity being set while also adding a new intermediates folder for IWYU.

#jira UE-190274
#rb joe.kirchoff

[CL 26514944 by christopher waters in ue5-main branch]
2023-07-21 12:08:09 -04:00
joe kirchoff
df6bb8107c UnrealBuildTool: Add additional info for how plugin modules are found when -AllModules is used
#rnx

[CL 26329284 by joe kirchoff in ue5-main branch]
2023-06-29 17:40:49 -04:00