Commit Graph

247 Commits

Author SHA1 Message Date
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
andrew scheidecker
36ed1de4ba Add UBT options that allow per-target and per-module choice between "precise" or "imprecise" FP semantics.
#rb Fabian.Giesen, Joe.Kirchoff

[CL 26615577 by andrew scheidecker in ue5-main branch]
2023-07-26 14:23:55 -04:00
neil henning
74ab43b41c Make the AutoRTFM compiler having changed cause the compiler sources to be clean compiled.
#rb josh.adams

[CL 26506100 by neil henning in ue5-main branch]
2023-07-21 03:55:21 -04:00
Josh Adams
b0e29c9e75 - Added basic support for compiling Swift code (not general purpose yet, only the UESwift.swift file in this CL will work for now)
- Added an example SwiftUI view shown on VisionOS, using UIHostingViewController (must be created in Swift, not Obj-C)
- Refactored AppleToolChainSettings and children so AppleToolChain can have a single Swift compile function, and still target the proper toolchain (more cleaning up and pulling into AppleToolChain should now be possible)
#rb joe.kirchoff

[CL 26346396 by Josh Adams in ue5-main branch]
2023-06-30 12:08:50 -04:00
joe kirchoff
a887ecf379 UnrealBuildTool: Use shortname for module shared definition & response file
#rnx

[CL 26329134 by joe kirchoff in ue5-main branch]
2023-06-29 17:33:54 -04:00
bryan sefcik
1617a2b4a6 Optimized the searching of included files.
Solution generation:
Before: 1m55s
After: 50s

#jira

[CL 26152429 by bryan sefcik in ue5-main branch]
2023-06-21 12:10:38 -04:00
erebel55
9369324f93 PR #10422: Fixed broken bAddDefaultIncludePaths UBT setting
#jira UE-187903

[CL 26069910 by erebel55 in ue5-main branch]
2023-06-16 16:58:00 -04:00
joe kirchoff
0485ee26c9 UnrealBuildTool: Remove PCH variants for ShadowVariableWarningLevel, UnsafeTypeCastWarningLevel & bEnableUndefinedIdentifierWarnings
#rnx
#rb Henrik.Karlsson

[CL 25907869 by joe kirchoff in ue5-main branch]
2023-06-09 19:06:05 -04:00
bryan sefcik
699eb3731e Removed a hack in the sharedpch logic that is no longer needed.
Changed a warning to a debug message because it broke a branch that is behind in merges. I will bring back the warnings when the branch catches up.

#jira

[CL 25907256 by bryan sefcik in ue5-main branch]
2023-06-09 18:34:08 -04:00
bryan sefcik
a949488972 Updated the logic that determines which dependencies a shared PCH has. This new logic goes through all the includes of the pch header and finds the actual headers and modules used. This creates a smaller list of dependencies than before, which is later used to determine whether it is safe or not for the PCH to be used by other modulres.
#rb joe.kirchoff

[CL 25906157 by bryan sefcik in ue5-main branch]
2023-06-09 17:55:56 -04:00
christopher waters
c1db7ce35f Adding header specific compile options
- -IncludeHeaders will add individual header compiles to the build.
- -HeadersOnly when used with -IncludeHeaders will compile only the headers. This replaces -IWYUHeadersOnly.
- Ported file collision support over from ClangToolChain into VCToolChain

#rb henrik.karlsson

[CL 25899533 by christopher waters in ue5-main branch]
2023-06-09 14:23:34 -04:00
bryan sefcik
adc423d1db Fixed an issue where the linux editor would not create/use the unrealed shared PCH.
#jira

[CL 25861570 by bryan sefcik in ue5-main branch]
2023-06-07 18:56:39 -04:00
joe kirchoff
c5fd3412c1 UnrealBuildTool: Always add CppStandard to PCH variant name, to prevent creating duplicate PCH when the engine's cpp standard is mismatched with a project
#rnx

[CL 25826166 by joe kirchoff in ue5-main branch]
2023-06-06 15:59:09 -04:00
joe kirchoff
3cde89ad9a BuildSettingsVersion.V4: Default CppStandard to Cpp20. Latest is not being updated to V4 with this change and will happen at a later date
* Add new setting CppStandardEngine so this can be controlled separately for engine module
* CppStandard no longer requires RequiresUniqueBuildEnvironment as it does not affect engine modules

#rb christopher.waters

[CL 25821375 by joe kirchoff in ue5-main branch]
2023-06-06 13:38:28 -04:00
robert millar
6bdae7d69e Additional crash reporting information.
- Whether the binaries were created with debug info.
- Engine 'compatible' version from build info.
- CIS job URL that created the binaries.
- Currently executing CIS job URL.

#rb johan.berg

[CL 25796770 by robert millar in ue5-main branch]
2023-06-05 13:22:14 -04:00
galeone
431c09150e [UBT] Add support for Code coverage on Linux
#rb Brandon.Schaefer, Jerome.Delattre, Joe.Kirchoff

[CL 25794147 by galeone in ue5-main branch]
2023-06-05 12:03:25 -04:00
bryan sefcik
e40d241cde Updated the shared pch logic to not follow the private module dependencies/includes when getting all the possible modules referenced in the pch header.
#jira
#preflight 647bc13b67505cf55c9db0c0

[CL 25783023 by bryan sefcik in ue5-main branch]
2023-06-03 19:34:57 -04:00
bryan sefcik
5fcc1c97a3 Updated the shared pch logic to traverse the dependency tree to find the best shared pch for each module. The logic before would only look at the direct dependencies which if changed could result in possibly worse compile times because a less optimal pch could be picked.
Note: There however are occasions where the old logic can give better shared pchs because it doesn't check whether there is a circular dependency. The new logic does check for circular dependencies so it can sometimes return a safer but less optimal shared PCH. If we find the old logic gives a better shared pch then we go ahead and use it. This will be removed after some of the circular dependencies are resolved.

#rb joe.kirchoff
#preflight 6477e3b87f02573726be946c

[CL 25720154 by bryan sefcik in ue5-main branch]
2023-05-31 23:29:01 -04:00
joe kirchoff
acacd6a8de UnrealBuildTool: More automated code cleanup
* Use object type rather than var
* Remove double newlines
* Use pattern matching

#rnx
#preflight 647780095d23eca37d28a387

[CL 25706751 by joe kirchoff in ue5-main branch]
2023-05-31 13:37:21 -04:00
joe kirchoff
acf80ab609 [Backout] - CL25694851
[FYI] Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: More automated code cleanup

#rnx

[CL 25695155 by joe kirchoff in ue5-main branch]
2023-05-30 19:55:37 -04:00
joe kirchoff
7ed1a39679 UnrealBuildTool: More automated code cleanup
#rnx

[CL 25694864 by joe kirchoff in ue5-main branch]
2023-05-30 19:36:05 -04:00
joe kirchoff
c04da27b3b UnrealBuildTool: More automated code cleanup
#rnx
#preflight 64767efb4b1ead7c7f428c7a

[CL 25693857 by joe kirchoff in ue5-main branch]
2023-05-30 18:59:32 -04:00
joe kirchoff
36d266e932 UnrealBuildTool: Automated code cleanup
#rnx
#preflight 6476799e947ff6973c225619

[CL 25693241 by joe kirchoff in ue5-main branch]
2023-05-30 18:38:07 -04:00
joe kirchoff
57a8fe409c UnrealBuildTool: Use expression body for simple properties and accessors
#rnx
#preflight 64766abcfe6a3b258a04cb50

[CL 25691579 by joe kirchoff in ue5-main branch]
2023-05-30 18:01:50 -04:00
tim smith
cdcd50de2d Fix issue with UBT where the UE_TARGET_NAME isn't the actual target name. This resulted in HotReload and Live Coding to no longer work when used with a non-unity build.
#rb joe.kirchoff
#preflight 646e3a986c2a2532b1e663d4

[CL 25608143 by tim smith in ue5-main branch]
2023-05-24 13:48:35 -04:00