Commit Graph

776 Commits

Author SHA1 Message Date
marc audy
2c98855051 Really really disable C5105 when doing PVS analysis as disabling it in PlatformCompilerSetup.h AND disabling it DirectHeaderCompiling.h just wasn't enough
#rb Joe.Kirchoff
#jira
#rnx

[CL 34351681 by marc audy in ue5-main branch]
2024-06-13 15:49:15 -04:00
henrik karlsson
20705058c9 [UBA]
* Disabled pch timestamp check on windows since this prevents pch from being able to be cached (this also prevents them from being deterministic)

[CL 34343759 by henrik karlsson in ue5-main branch]
2024-06-13 12:34:13 -04:00
brandon schaefer
b9d9b521f0 Only use -fautortfm if using the AutoRTFM compiler
#rb none

[CL 34094964 by brandon schaefer in ue5-main branch]
2024-06-04 11:19:12 -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
henrik karlsson
b9308f685b [UBT]
* Changed so root paths are included in bucket id when pch is enabled

[FYI] Joe.Kirchoff

[CL 33957782 by henrik karlsson in ue5-main branch]
2024-05-28 18:56:53 -04:00
joe kirchoff
d76776ee27 UnrealBuildTool: Disallow caching -SingleFile compiles
#rnx

[CL 33907953 by joe kirchoff in ue5-main branch]
2024-05-24 17:45:30 -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
joe kirchoff
cc800558a6 UnrealBuildTool: Fix passing duplicate arguments to -SingleFile actions when using clang for msvc platforms
#rnx

[CL 33878194 by joe kirchoff in ue5-main branch]
2024-05-23 18:24:17 -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
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
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
2c05105f32 Minor clean up of SUPPRESS_MONOLITHIC_HEADER_WARNINGS
* Remove pointless define/undef of it
* Set it to 1 consistently in all cases (even though we only check if it is defined)

[CL 33667364 by marc audy in ue5-main branch]
2024-05-15 15:49:27 -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
neil henning
991f7cde76 Fix Windows ASan issues when using the AutoRTFM compiler.
#rb Brandon.Schaefer

[CL 33655239 by neil henning in ue5-main branch]
2024-05-15 08:29:19 -04:00
joe kirchoff
5477d8fd9a UnrealBuildTool: Remove unneeded using
#rnx

[CL 33638352 by joe kirchoff in ue5-main branch]
2024-05-14 18:24:35 -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
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
joe kirchoff
229cb27003 UnrealBuildTool: Fix description of -SingleFile compile marked as Analyze when it should be Compiling (visual only bug)
#rnx

[CL 33580868 by joe kirchoff in ue5-main branch]
2024-05-10 13:50:01 -04:00
joe kirchoff
d28a36cabb UnrealBuildTool: Fix /analyze not being applied to -SingleFile when the module contains generated cpp files
#jira UE-213788
#rb henrik.karlsson

[CL 33461515 by joe kirchoff in ue5-main branch]
2024-05-06 13:14:41 -04:00
rdunnington
057319ff09 PR #11788: fix: clang coroutine support when building with C++17
#jira UE-213184

[CL 33429362 by rdunnington in ue5-main branch]
2024-05-03 13:10:26 -04:00
henrik karlsson
711cee218a [UBT]
* Removed full path in generated pch cpp file and /Yc option inside rsp file (they both need to be changed to match). Needed to make pch builds deterministic between machines

[FYI] joe.kirchoff

[CL 33290316 by henrik karlsson in ue5-main branch]
2024-04-27 18:55:05 -04:00
joe kirchoff
6758a707eb UnrealBuildTool: Set -fno-delete-null-pointer-checks when compiling ms platforms with clang
[CL 33250901 by joe kirchoff in ue5-main branch]
2024-04-25 18:43:54 -04:00
henrik karlsson
7fc8ad83e8 [UBA]
* Integrated uba cache client in to UBT. This is the first iteration and is only really tested on UnrealEditor win64 development -nopch.

Test by starting a UbaCacheService.exe somewhere and then compile using -UbaCache=<thatmachine> -UbaWriteCache

#rb joe.kirchoff

[CL 33214931 by henrik karlsson in ue5-main branch]
2024-04-24 17:58:07 -04:00
henrik karlsson
090adc2630 [UBT]
* Added additional parameter to TypeLibrary logic because some type library compiles creates tli files

#rb joe.kirchoff

[CL 33211773 by henrik karlsson in ue5-main branch]
2024-04-24 16:20:14 -04:00