Commit Graph

609 Commits

Author SHA1 Message Date
joe kirchoff
c470dafa14 UnrealBuildTool: BuildSettingsVersion.V4 enable msvc strict conformance mode by default
[CL 26661345 by joe kirchoff in 5.3 branch]
2023-07-27 19:40:20 -04:00
joe kirchoff
fe10ca94d0 UnrealBuildTool: Check for mismatched PGO linker arguments in VCToolchain & delete duplicate code from other MSVC platforms
#rnx
#rb john.huelin
#rb tim.smith

[CL 26621310 by joe kirchoff in 5.3 branch]
2023-07-26 16:58:05 -04:00
joe kirchoff
f464eaa05f UnrealBuildTool: Always pass /ALTERNATENAME for any msvc platform for both vs2019 and vs2022, instead of only for vs2022 so pgo linker args will match
#rnx
#presubmit 64b9cdc0fb725fded24c9781

[CL 26549491 by joe kirchoff in 5.3 branch]
2023-07-24 13:44:30 -04:00
david harvey
2511029c6e Fix for AppX manifest only including cultures with localized strings/images in the Resources node.
- fixes a case on some platforms where culture tags used in other parts of the packaging process would cause an "unknown culture" build failure

#rnx
#jira UE-185896
#rb Wojciech.Krywult

[CL 26509350 by david harvey in 5.3 branch]
2023-07-21 09:36:40 -04:00
joe kirchoff
fd4f9600bf UnrealBuildTool: Add ini config for InlineFunctionExpansionLevel
#rnx

[CL 26497722 by joe kirchoff in 5.3 branch]
2023-07-20 17:12:22 -04:00
joe kirchoff
b5915e6621 UnrealBuildTool: Add ini setting for VCToolchain
#rnx

[CL 26472446 by joe kirchoff in 5.3 branch]
2023-07-19 17:39:46 -04:00
joe kirchoff
c1f2c38921 Fix PATH separator on non-Windows platforms
#rnx
#jira UE-190551
#rb Ryan.Hummer

[CL 26469820 by joe kirchoff in 5.3 branch]
2023-07-19 16:34:01 -04:00
joe kirchoff
3f390cac0b UnrealBuildTool: Set preferred clang to 16
#rnx

[CL 26452151 by joe kirchoff in 5.3 branch]
2023-07-18 19:23:46 -04:00
Joe Kirchoff
ba9e48d7f1 UnrealBuildTool: Fix missing using
#rnx

[CL 26450170 by Joe Kirchoff in 5.3 branch]
2023-07-18 18:24:16 -04:00
joe kirchoff
10301fef85 UnrealBuildTool: Allow configuring toolchain and toolchain version to control what msvc version is used when clang is used to compile
#rb Tim.Smith

[CL 26449760 by joe kirchoff in 5.3 branch]
2023-07-18 18:08:05 -04:00
joe kirchoff
856c7582af UnrealBuildTool: Fix CompilerVersion selection
#rnx

[CL 26413662 by joe kirchoff in 5.3 branch]
2023-07-17 14:52:14 -04:00
joe kirchoff
2b1c8af9b9 UnrealBuildTool: Ignore ReleaseChannel for clang toolchains
#rnx

[CL 26297961 by joe kirchoff in 5.3 branch]
2023-06-28 16:31:55 -04:00
joe kirchoff
f580d089ba UnrealBuildTool: Rename .suppressed.lib -> .sup.lib to reduce filename length
#rnx
#jira UE-189683

[CL 26266008 by joe kirchoff in 5.3 branch]
2023-06-27 14:37:57 -04:00
michael wanderson
032abfa184 Undo //UE5/Release-5.3/Engine/... changelist 26152902, this removes the per app SDK version changes accidentally cherry-picked into 5.3.
#rb josh.adams

[CL 26218519 by michael wanderson in 5.3 branch]
2023-06-23 16:40:50 -04:00
joe kirchoff
b2982662a4 Replace encoding args with /utf-8
#rnx

[CL 26217367 by joe kirchoff in 5.3 branch]
2023-06-23 16:04:51 -04:00
graeme thornton
403e63bb7d - Fixed an crash when no VC toolchains are installed at all
#rb joe.kirchoff
#p4v-cherrypick 26200450

[CL 26210922 by graeme thornton in 5.3 branch]
2023-06-23 11:37:17 -04:00
calvin zheng
3f9b3b622b - Moved SDK versions (MainVersion and Min/Max SDK version) from C# strings to SDK.json files in the Platform's Config folder
- Allow for per-project override in a project's platform's config folder (this is merging with my other work on per-project SDKs and validation of multi-target builds)
- More versions will move over after this
#rb david.harvey


#[robomerge][bot5] -FNMain

#ushell-cherrypick of 26150552 by josh.adams

[CL 26152902 by calvin zheng in 5.3 branch]
2023-06-21 12:34:18 -04:00
Joe Kirchoff
f5b37b60e5 UnrealBuildTool: Build error if VS2019 is used in an installed engine
#rnx
#jira UE-184393
#rb Ryan.Hummer

[CL 26133782 by Joe Kirchoff in 5.3 branch]
2023-06-20 16:40:13 -04:00
joe kirchoff
632ae429e7 UnrealBuildTool: WindowsTargetRules setting to control Inline Function Expansion Level
#rb trivial

[CL 26101010 by joe kirchoff in 5.3 branch]
2023-06-19 15:26:42 -04:00
joe kirchoff
9a4adcccc3 UnrealBuildTool: Only enable deterministic mode for Shipping by default, as it affects msvc compile time due to disabled codegen multithreading
#rb Bryan.Sefick

[CL 25997336 by joe kirchoff in ue5-main branch]
2023-06-14 17:42:16 -04:00
arciel rekman
49116212ad Compile servers with WITH_RAYTRACING=0
- This reduces Shipping server binary by a couple megabytes, and also helps reduce work during the LTO/PGO builds.

#rb Yuriy.ODonnell
[REVIEW] [at]Yuriy.ODonnell

[CL 25984505 by arciel rekman in ue5-main branch]
2023-06-14 13:05:10 -04:00
henrik karlsson
be9eb407a8 [UBT]
* Added AdditionalDescription parameter to ParallelExecutor.RunAction
* Added bCanExecuteInBox for actions

[CL 25968700 by henrik karlsson in ue5-main branch]
2023-06-13 20:26:15 -04:00
david harvey
51ccadc022 separate the AppX culture id from the PerCultureResources into its own UE StageId -> AppX CultureId override table.
- Having two fields generally just caused confusion.
 - Most of the time, a simple 1:1 passthrough is sufficient.
 - DLC and Features both need the CultureId when configuring localized properties, but this was stored in a separate structure and required fiddly code to look it up.

#jira UE-185896
#rb Dave.Barrett

[CL 25947433 by david harvey in ue5-main branch]
2023-06-13 05:49:20 -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
david harvey
0871cda6bb remove unnecessary log message if PerCultureResources is not set up in a shipping build.
#jira UE-185896
#rnx
#rb trivial

[CL 25890499 by david harvey in ue5-main branch]
2023-06-09 08:48:09 -04:00