Commit Graph

376 Commits

Author SHA1 Message Date
Joe Kirchoff
43520d753e UnrealBuildTool: Unban VS2022 17.2.0 toolchains now that we're passing the flags to opt-out new lambda defaults
#rnx
#rb trivial
#preflight 628beef8183c1e13465149fc

[CL 20338057 by Joe Kirchoff in ue5-main branch]
2022-05-23 16:35:29 -04:00
Joe Kirchoff
8e36e0f199 UnrealBuildTool: Pass /Zc:lambda- for VS2022 17.2 toolchain if strict conformance mode is enabled
#rnx
#rb none
#preflight 6284122a486700b561a565fc

[CL 20251858 by Joe Kirchoff in ue5-main branch]
2022-05-17 17:40:26 -04:00
David Harvey
ec00bae0f0 Restore HoloLens native code analysis and architecture override.
#jira UE-149794
#rb Josh.Adams
#rnx
#preflight 6283a515ba3597a0308fc2d6

[CL 20241957 by David Harvey in ue5-main branch]
2022-05-17 09:48:21 -04:00
David Harvey
7013ba72f9 Fix builds where the HoloLens platform isn't synced.
- temporarily disabled hololens native code analysis and architecture override

#jira UE-149794
#rnx
#rb none
#preflight 62839406ba3597a0308ce878

[CL 20241246 by David Harvey in ue5-main branch]
2022-05-17 08:32:25 -04:00
Joe Kirchoff
413463e005 UnrealBuildTool: Include older VS2022 17.2.0 preview toolchain in ban
#rnx
#rb trivial
#preflight 627d6d71332e182a5845c5c3

[CL 20170548 by Joe Kirchoff in ue5-main branch]
2022-05-12 16:31:53 -04:00
Joe Kirchoff
cb5fcf94a8 UnrealBuildTool: Ban MSVC compiler in VS2022 17.2.0 & 17.3.0 Preview 1 due to https://developercommunity.visualstudio.com/t/Incorrect-instantiation-of-a-virtual-fun/10020368
#rb trivial
#fyi martin.sevigny
#rnx
#preflight 627be4312d6789603017b839

[CL 20143192 by Joe Kirchoff in ue5-main branch]
2022-05-11 12:51:38 -04:00
Joe Conley
8d2a0ef148 #jira UE-147307 //UE5/Main - Stage EngineTest Game HoloLens - Failed to copy Manifest
HoloLensPlatform::GetPathToVCLibsPackages() needs to call MicrosoftPlatformSDKs::EnumerateSdkRootDirs() function and loop through the result trying them in order, rather than always looking for a hardcoded path.  Also adding VCLibs for arm64 necessary for HoloLens to CarefullyRedist.  For some reason, they are in Microsoft SDKs/Windows Kits instead of just in Windows Kits/, so I matched that directory structure in CarefullyRedist, then the code I'm adding the HoloLensPlatform.Automation.cs can use the same path to look for it if it's installed manually or from AutoSDKs.
#preflight 62742e6d4a2e9340486c9adf
#preflight 627430be03269096abd69fdf
testing: Quick Launch HoloLensQA project to HoloLens device still works!

[CL 20065655 by Joe Conley in ue5-main branch]
2022-05-05 18:05:18 -04:00
chris constantinescu
1278a26f76 Low level tests further refactoring and test resource deployment
#preflight 626955ed0d4ac78d716eacf0
#rnx

[CL 19941830 by chris constantinescu in ue5-main branch]
2022-04-27 12:36:35 -04:00
David Harvey
b1e9d46d61 VCToolChain always applies delay unload, regardless of platform - required for modular builds.
#jira UE-149806
#rnx
#preflight 6266b9abe73e257316091dca
#rb Nuno.Leiria

[CL 19903739 by David Harvey in ue5-main branch]
2022-04-25 12:03:36 -04:00
josh adams
39bff31fff - Adding comments to the PlatformSDK files to note the version numbers are now in the Versions.cs files
#p4v-preflight-copy 19822331
#rb trivial
#jira none
#preflight 6261e093a21b75437128a095

[CL 19858470 by josh adams in ue5-main branch]
2022-04-21 19:26:22 -04:00
nuno leiria
e5ba02df4b VCToolchain and linker visibility changes required to enable modular builds for MS console platforms
#preflight 626042f0080c6600634660e8
#rb david.harvey

[CL 19847555 by nuno leiria in ue5-main branch]
2022-04-21 08:38:28 -04:00
josh adams
0532d19399 - Split SDK versions into their own Versions.cs files
#rb eric.mcdaniel
#jira none
#preflight 6255a6309a0f82a3151d28aa

[CL 19723677 by josh adams in ue5-main branch]
2022-04-12 12:37:37 -04:00
Josh Adams
604aec8368 - Allow for multiple full sdks for a platform (uses a new SDKCollection class to gather sdk versions and their validityt, etc)
- Windows will be first to use it, but in a future CL, with toolchain separate from Windows SDK
- Cleaned up some of the PlatformSDK API to have fewer public members (mainly so the functions that receive multiple versions can be automatically populated with the current single version functions in the subclasses)
- Updated the Turnkey menu to handle multiple versions

#jira none
#rb david.harvey
#preflight 62508cd8f10bcc0f4fa8b5d1

[CL 19692492 by Josh Adams in ue5-main branch]
2022-04-08 15:34:51 -04:00
jonathan adamczewski
c1bb6901bf Upgrade to .NET 6.0
#jira UE-119846
#preflight 624cbb2ecc0872e96b0d5181

[CL 19652696 by jonathan adamczewski in ue5-main branch]
2022-04-06 14:46:50 -04:00
David Harvey
7dd50d8a4f Manifest generation optimizations to improve iteration times when nothing has changed:
- resource binary files are not copied to an Intermediate location first.
 - resources.pri is also not created in the Intermediate location first.
 - file diffs are done on generated files only; resource binary files use timestamps.
 - only copy the resource binaries for the cultures that we are staging.
 - final file removal & copying is left to the end of the process rather than being ad-hoc.

Additionally, the output from makepri is only logged if there was an error, to reduce signal/noise.

#preflight 624b26cab33098a72d1bd843
#rnx
#rb Eric.McDaniel
#jira UE-147269

[CL 19622112 by David Harvey in ue5-main branch]
2022-04-05 05:43:12 -04:00
Joe Kirchoff
d6e86938a7 UnrealBuildTool: Print warnings of any normalized resolved paths in VCToolchain are longer that MAX_PATH as those consistently cause unexpected build errors
#rnx
#rb trivial
#preflight 624b3a5a470aff98e9a3fe20

[CL 19613025 by Joe Kirchoff in ue5-main branch]
2022-04-04 14:41:48 -04:00
Joe Kirchoff
379c3078aa UnrealBuildTool: Return correct IntelOneAPI verson when icx.exe isn't updated
#rnx
#rb trivial
#preflight 624b2602f73c316f68303dca

[CL 19611748 by Joe Kirchoff in ue5-main branch]
2022-04-04 13:23:52 -04:00
Josh Adams
3a60b1efab - Moved most of the remaining SDK discovery/versioning from UEBuildWindows.cs to MicrosoftPlatformSDK.cs
#preflight 62476ac7f73c316f680e9ad3
#rb joe.kirchoff
#jira none

[CL 19604020 by Josh Adams in ue5-main branch]
2022-04-03 15:04:38 -04:00
jonathan adamczewski
5053cae2d8 Launch UnrealBuildTool via dotnet unrealbuildtool.dll, not unrealbuildtool.exe
#jira none
#rnx
#preflight 624261bdb6084b98321e9251

[CL 19544939 by jonathan adamczewski in ue5-main branch]
2022-03-29 13:20:46 -04:00
jonathan adamczewski
5c68d1d9ef Revert //UE5/Main/... changelist 19531725 - return to NET Core 3.1
#preflight 62422fd0470aff98e946bfce
#jira UE-119846

[CL 19534572 by jonathan adamczewski in ue5-main branch]
2022-03-28 18:25:19 -04:00
jonathan adamczewski
18ac15cbb1 Upgrade to .NET 6.0
#jira UE-119846
#preflight 6241fc06470aff98e943c035

[CL 19531725 by jonathan adamczewski in ue5-main branch]
2022-03-28 15:30:56 -04:00
David Harvey
d25a9356f9 Manifest generator can use TargetName if there is no project, so Programs are not named DefaultUEProject, for example.
#rnx
#jira none
#rb Eric.McDaniel
#preflight 623de56ca743227819d6b3f3

[CL 19514452 by David Harvey in ue5-main branch]
2022-03-25 12:17:42 -04:00
David Harvey
a3e5c385b5 Debugger arguments are set up correctly for Windows-based platform extensions
#jira UE-146417, UE-131865
#rnx
#preflight 6239e2dadb0f61c7925d2989
#rb Eric.McDaniel

[CL 19492929 by David Harvey in ue5-main branch]
2022-03-24 05:42:08 -04:00
avudnez
a8d559fbad PR #9001: Fix building LiveCodingConsole with clang-cl (Contributed by avudnez)
#rb self
#rnx
#jira UE-146904
#preflight 623b78e4ca34ffd7bf7f9874

[CL 19484226 by avudnez in ue5-main branch]
2022-03-23 15:59:49 -04:00
Joe Kirchoff
0f2cf746d8 UnrealBuildTool: Don't pass /fastfail to link.exe if linking with PGO options
#rnx
#rb trivial
#preflight none

[CL 19426375 by Joe Kirchoff in ue5-main branch]
2022-03-17 16:24:34 -04:00