Commit Graph

1808 Commits

Author SHA1 Message Date
david harvey
cb02573ac6 Platform SDKs can select the most appropriate manual SDK where the platform supports side-by-side SDK installs.
- currently only enabled when AutoSDK is configured (i.e. UE_SDKS_ROOT is set)

#jira UE-211151, UE-211152, UE-211153
#rb Josh.Adams, Wojciech.Krywult

[CL 34195340 by david harvey in ue5-main branch]
2024-06-07 05:07:55 -04:00
anton dunchev
8b0b461407 [RHI] Added shader map and shader library listing commands that let you analyse the memory footprint of those structures.
[FYI] j.baumgartner
#rb serge.bernier
#tests local

[CL 34035856 by anton dunchev in ue5-main branch]
2024-05-31 13:17:18 -04:00
joe kirchoff
a38acf86f5 UnrealBuildTool: Fix config setting for TargetRules.bAllowUbaCompression
#rnx
#jira UE-214517

[CL 34034905 by joe kirchoff in ue5-main branch]
2024-05-31 12:24:32 -04:00
joe kirchoff
e4db99b42d UnrealBuildTool: Fix logic for disabling SharedPCH for cpp17 modules
#rnx

[CL 34023196 by joe kirchoff in ue5-main branch]
2024-05-30 20:20:48 -04:00
brandon schaefer
98b4996b7e Remove bAllowAutoRTFM in favor of bDisableAutoRTFM, so by default we will always enable AutoRTFM for module if using AutoRTFM compiler unless the module disables it
[CL 34015078 by brandon schaefer in ue5-main branch]
2024-05-30 18:01:07 -04:00
brandon schaefer
6d609fcb13 Support moving to disabling AutoRTFM support only vs explicitly enabling
#rb Neil.Henning

[CL 34014580 by brandon schaefer in ue5-main branch]
2024-05-30 17:47:55 -04:00
joe kirchoff
ab44468a4e UnrealBuildTool: Print upgrade warning if a project is using unsupported C++ standard versions
#rnx
#jira UE-207533

[CL 33956580 by joe kirchoff in ue5-main branch]
2024-05-28 18:33:55 -04:00
joe kirchoff
748e7aac60 UnrealBuildTool: Auto disable SharedPCH if a module is compiling using a CppStandard older than the engine
#rnx
#jira UE-207533

[CL 33955046 by joe kirchoff in ue5-main branch]
2024-05-28 17:53:24 -04:00
chris constantinescu
4f53219745 Fix warnings in LLT jobs
#jira UE-215685
#rnx

[CL 33918359 by chris constantinescu in ue5-main branch]
2024-05-26 15:59:52 -04:00
henrik karlsson
ef78c5dc37 [UBA]
* Enabled mimalloc for linux targets that are non-dll

[CL 33916150 by henrik karlsson in ue5-main branch]
2024-05-25 16:53:41 -04:00
chris constantinescu
46f7bc2772 Deduplication of low level tests: remove online-related tests
+ run only selected tests unless none is selected which means run all tests
#jira UE-215685
#rnx
#rb stephen.ma

[CL 33898470 by chris constantinescu in ue5-main branch]
2024-05-24 12:58:43 -04:00
joe kirchoff
4901d933ec UnrealBuildTool: Allow disabling specific PVS analyzer errors for modules
#rnx

[CL 33897774 by joe kirchoff in ue5-main branch]
2024-05-24 12:38:56 -04:00
zach brockway
36fd80901e UnrealBuildTool: Add a bGenerateProgramProject flag to TargetRules to force a target to be treated as a program during project file generation.
#jira UE-214748
#rb Joe.Kirchoff

[CL 33849589 by zach brockway in ue5-main branch]
2024-05-22 19:19:22 -04:00
henrik karlsson
d2caf167a8 [UBT]
* Fixed so executable also run strip action to make sure exports that must exist will exist
* Fixed so clang-based platforms also work with merged modules.
* Removed pch stripping action now when we don't create stripped obj files anymore

[CL 33845112 by henrik karlsson in ue5-main branch]
2024-05-22 17:16:45 -04:00
chris constantinescu
d6cb92dadc LLT job - selecting a list of platforms must select appropriate tests
#jira UE-214414

#rb rob.huyett, sebastian.lewicki

[CL 33833173 by chris constantinescu in ue5-main branch]
2024-05-22 12:18:21 -04:00
henrik karlsson
f1fc1218d5 [UBT]
* Changed so it is possible to have extra command line parameters in combination with rsp file on vc targets
* Changed so we don't create .strip.obj file anymore but instead use UbaObjTool to create an additional obj file that carry exports etc

[FYI] Joe.Kirchoff

[CL 33830727 by henrik karlsson in ue5-main branch]
2024-05-22 11:15:45 -04:00
joe kirchoff
5f5a8a703e UnrealBuildTool: Move several helper functions to EpicGames.Build
#rnx

[CL 33815711 by joe kirchoff in ue5-main branch]
2024-05-21 19:32:34 -04:00
zach brockway
f74f50ff06 UnrealBuildTool: Introduce TargetRules.bAllowEnginePluginsEnabledByDefault, analogous to (the inverse of) "DisableEnginePluginsByDefault" in the project descriptor.
This is passed through to the target receipt, and respected in FPluginManager.

#jira UE-214749
#rb Joe.Kirchoff

[CL 33811096 by zach brockway in ue5-main branch]
2024-05-21 17:30:36 -04:00
marc audy
38a8d9fdfc Remove the Platform.h experiment as it fails if files are in modules that don't include Core and put back the one off pragma disable for the single file cases in to DirectHeaderCompiling.h, leaving the global case in place for most use cases
#rnx

[CL 33806551 by marc audy in ue5-main branch]
2024-05-21 15:49:19 -04:00
marc audy
94f319872d Globally disable C5105 instead of just for direct header including
Include Platform.h before doing a single file header include (to set up the compiler correctly)
#rnx

[CL 33803971 by marc audy in ue5-main branch]
2024-05-21 14:42:39 -04:00
marc audy
5a0718a314 direct header compiling tools
#rb christopher.waters

[CL 33798962 by marc audy in ue5-main branch]
2024-05-21 12:23:35 -04:00
henrik karlsson
5a7dc89bf3 [UBT]
* Fixed compile warning

[CL 33735796 by henrik karlsson in ue5-main branch]
2024-05-17 16:20:37 -04:00
henrik karlsson
d420d28a78 [UBT]
* Fixed so PerModule cpp file creates its own translation unit if module merging is enabled
* Fixed so only one translation unit of PerModule.cpp is added per binary if module merging is enabled

[CL 33735442 by henrik karlsson in ue5-main branch]
2024-05-17 16:08:18 -04:00
joe kirchoff
088dc4b8b9 UnrealBuildTool: Initial support for merging modular builds into fewer libraries, highly experimental
#rnx
#rb henrik.karlsson

[CL 33732096 by joe kirchoff in ue5-main branch]
2024-05-17 14:47:05 -04:00
henrik karlsson
b250c11229 Changed so operator new/delete overloads are pulled in through a special include compiled in a generated cpp file that goes in its own translation unit. This will make it possible to support merging of modules and only include one of the .obj files for these overloads
If a module depends on Core and does not want the overloads it needs to add the private define SUPPRESS_PER_MODULE_INLINE_FILE or set PER_MODULE_INLINE_FILE to point to a different file

[CL 33709297 by henrik karlsson in ue5-main branch]
2024-05-16 22:34:40 -04:00