Commit Graph

1800 Commits

Author SHA1 Message Date
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
joe kirchoff
f778f524de UnrealBuildTool: Preprocess SharedPCH when generating project files to prevent writing to the same file multiple times
#rnx
#jira UE-213872

[CL 33690581 by joe kirchoff in ue5-main branch]
2024-05-16 12:21:10 -04:00
marc audy
6a76a0e4b9 Add UE_DIRECT_HEADER_COMPILE to allow avoiding warnings/errors in single-header compilation.
Replace setting SUPPRESS_MONOLITHIC_HEADER_WARNINGS with UE_DIRECT_HEADER_COMPILE for header compilation situations
#rnx
#rb Christopher.Waters, Joe.Kirchoff

[CL 33672325 by marc audy in ue5-main branch]
2024-05-15 17:47:03 -04:00
marc audy
ecd20a51b6 Allow ShowIncludes to work for clang as well as windows
#rb christopher.waters, Joe.Kirchoff

[CL 33665843 by marc audy in ue5-main branch]
2024-05-15 14:51:47 -04:00
joe kirchoff
15dd07ca7e UnrealBuildTool: Always write a .cpp file when compiling stand-alone headers
#rnx

[CL 33638117 by joe kirchoff in ue5-main branch]
2024-05-14 18:12:01 -04:00
joe kirchoff
5066d97820 UnrealBuildTool: Shorten -IncludeHeader path
#rnx

[CL 33634799 by joe kirchoff in ue5-main branch]
2024-05-14 15:15:28 -04:00
joe kirchoff
aae11b81ee UnrealBuildTool: -IncludeHeader fixes
* Headers can have duplicate filenames which results in intermediate file conflicts, generate an intermediate subdirectory using the header relative path from the module root
* Don't use PCH for headers (also fix the original unmodified module compile environment being overwitten due to not making a copy !!!)
* Set SUPPRESS_MONOLITHIC_HEADER_WARNINGS=0 for header compiles
* Remove the need to generate a separate file to include the header with -SingleFile
* Fix /TC not being passed to clang-cl
* Disable a few clang #pragma related warnings

#rnx
#jira UE-214521
#rb christopher.waters

[CL 33608666 by joe kirchoff in ue5-main branch]
2024-05-13 16:24:15 -04:00
flo schar
e5191ea82f Rollback - Throw a build exception when trying to build hybrid content only projects within a Templates folder - Avoid impacts on TP_VirtualRealityBP and possibly other projects without further considerations
#jira UE-214703

[CL 33585287 by flo schar in ue5-main branch]
2024-05-10 15:54:12 -04:00
flo schar
8a582c858b Throw a build exception when trying to build hybrid content only projects within a Templates folder
#jira UE-192821
#rb Josh.Adams
[FYI] Josh.Adams

[CL 33511104 by flo schar in ue5-main branch]
2024-05-08 09:36:20 -04:00