Commit Graph

3843 Commits

Author SHA1 Message Date
Joe Kirchoff
b76676d7e5 UnrealBuildTool: Clean up VCToolChain functions that add command line args to be more consistently used, allowing more paths that can be relative to reduce command line length
Verified relative pathing works fine for msvc clang builds
Use .d files for dependencies when compiling with windows clang, instead of piping through cl-filter.exe
Use relative pathing for generated unity files

#rb Jonathan.Adamczewski
#rnx
#preflight 60d4de2bcaf0590001e62de9
#preflight 60d4efbccaf0590001e9af24

[CL 16779820 by Joe Kirchoff in ue5-main branch]
2021-06-24 19:00:31 -04:00
Joe Kirchoff
9f286a1c41 LiveCoding: Support updating actions that are invoking cl.exe or clang-cl.exe
#rb trivial
#rnx

[CL 16776753 by Joe Kirchoff in ue5-main branch]
2021-06-24 14:45:11 -04:00
axel riffard
5702c50c03 Refactor iOS Icons : create asset catalog according to present file
#jira UE-72584
#rb jack.porter
#preflight 60d4858157b3020001153d0c

[CL 16773695 by axel riffard in ue5-main branch]
2021-06-24 10:59:30 -04:00
Chris Babcock
112ed86408 Properly filter out all 32-bit Android include and libraries
#jira UE-118894
#android
#ue5
#review @Jack.Porter
#rb Aurel.Cordonnier

[CL 16767029 by Chris Babcock in ue5-main branch]
2021-06-23 20:34:39 -04:00
jonathan adamczewski
93fddba6cc UEBuildModule:
From UDN 00331538, record PublicPreBuildLibraries in PublicLibraries, not PublicSystemLibraries.

#rb ben.marsh
#jira none
#preflight 60d3a3d73b6163000129ac28

[CL 16764406 by jonathan adamczewski in ue5-main branch]
2021-06-23 18:25:00 -04:00
aurel cordonnier
d17d20ca36 Merge from Release-Engine-Test @ 16758890 to UE5/Main
This represents UE4/Main @ 16738161 and Dev-PerfTest @ 16737719 (and Release-17.00 @ 16658211)

[CL 16763350 by aurel cordonnier in ue5-main branch]
2021-06-23 17:51:32 -04:00
Joe Kirchoff
e7351bd35b UnrealBuildTool: /sourceDependencies isn't valid for clang
#rb trivial
#rnx

[CL 16760035 by Joe Kirchoff in ue5-main branch]
2021-06-23 14:07:11 -04:00
Joe Kirchoff
74747077a5 UnrealBuildTool: Move /sourceDependencies arg to GetCompilerArguments()
#rb trivial
#rnx

[CL 16759389 by Joe Kirchoff in ue5-main branch]
2021-06-23 13:23:54 -04:00
Joe Kirchoff
69fd3e1226 UnrealBuildTool: Use /sourceDependencies to generate dependency list instead of cl-filter if the the msvc compiler version is at least 14.27
#rb Ben.Marsh
#preflight 60d34f6ea81904000181d05a

[CL 16758831 by Joe Kirchoff in ue5-main branch]
2021-06-23 12:39:54 -04:00
David Harvey
bc3c4c7db0 Fixing up Address Sanitizer on Microsoft platforms.
<BuildConfiguration>
    <bEnableAddressSanitizer>true</bEnableAddressSanitizer>

#jira UE-112891
#rb dan.phillips
#rnx

[CL 16757980 by David Harvey in ue5-main branch]
2021-06-23 11:35:42 -04:00
nuno leiria
ea940d3794 Rename Linux folders to Unix where needed
#jira UE-99748
#preflight 60d0e0b778c3b00001e7cdd1
#rb brandon.schaefer, michael.sartain, arciel.rekman

[CL 16744169 by nuno leiria in ue5-main branch]
2021-06-22 12:04:15 -04:00
David Harvey
25c67e128d Add support for PDB page size override, introduced in VS2019 16.11 Preview 1.
This is used when dealing with PDB files that are over 4GB.

Use -PdbPageSize=<value> on the UBT command line, or add this to BuildConfiguration.xml:

  <WindowsPlatform>
    <PDBPageSize>32768</PDBPageSize>
  </WindowsPlatform>

Expected values are 4096 (default), 8192, 16384, 32768



Note to select an installed preview build of VS, you need to specify

  <WindowsPlatform>
    <CompilerVersion>Preview</CompilerVersion>
  </WindowsPlatform>


#rb ben.marsh
#jira UE-116910

[CL 16743860 by David Harvey in ue5-main branch]
2021-06-22 11:40:06 -04:00
will damon
46e6cfc425 Update valid range version maximum to allow for Xcode 13 beta.
#rb will.damon
#jira none
#rnx

[CL 16732272 by will damon in ue5-main branch]
2021-06-21 15:48:14 -04:00
Nick Darnell
3f498fa37a UBT - Started seeing "UnrealBuildTool : error : Unhandled exception: System.IO.DirectoryNotFoundException: Could not find a part of the path", turned out to be an issue with checking a folder to make sure it exists before it attempts to add files from that path.
#jira none
#fyi Ben.Marsh
#review-16724834 Ben.Marsh

[CL 16724833 by Nick Darnell in ue5-main branch]
2021-06-20 23:06:22 -04:00
Joe Kirchoff
4395ab0221 UnrealBuildTool: Action Executor that uses async tasks instead of background threads (currently disabled)
#rb none

[CL 16682139 by Joe Kirchoff in ue5-main branch]
2021-06-15 19:38:08 -04:00
Brandon Schaefer
05a2fa3749 Remove debug logging
#jira none
#rb none

[CL 16666749 by Brandon Schaefer in ue5-main branch]
2021-06-14 19:14:45 -04:00
Brandon Schaefer
d46249109d Fix AArch64 -> Arm64
#jira none
#rb none

[CL 16660946 by Brandon Schaefer in ue5-main branch]
2021-06-14 13:45:36 -04:00
Brandon Schaefer
da6e2eb1e2 Rename LinuxAArch64 to LinuxArm64
#jira UE-118127
#rb Michael.Sartain
#fyi Marc.Audy, Aurel.Cordonnier

[CL 16660821 by Brandon Schaefer in ue5-main branch]
2021-06-14 13:39:47 -04:00
jeanfrancois dube
50e5591882 UnrealBuildTool: added CppCompileEnvironment.AnalyzeStackSizeWarning to replace hardcoded value of 80K (now defaults to 300K).
Our stack size defaults to 4.7M on Windows, so allowing functions to use more stack space in favor of going through the heap.

#rb steve.robb


#ROBOMERGE-SOURCE: CL 16653849
#ROBOMERGE-BOT: (v834-16658389)

[CL 16659295 by jeanfrancois dube in ue5-main branch]
2021-06-14 11:58:20 -04:00
Joe Kirchoff
75559f7de1 VcPkg: Missing file from last changelist
Remove parameter for field already included in ModuleRules

#rb trivial

[CL 16658786 by Joe Kirchoff in ue5-main branch]
2021-06-14 11:16:07 -04:00
jonathan adamczewski
8d1ebef30a UnrealBuildTool:
Per-project rules assembly csprojen.

Previously: all .build.cs and .target.cs were being grouped into a single project, which resulted in duplicate symbols when trying to build the project.

Now: multiple assemblies csprojs are generated, one for each Engine & Game project. Also, includes preprocessor defines.

#jira none
#rb ben.marsh

[CL 16658600 by jonathan adamczewski in ue5-main branch]
2021-06-14 10:59:59 -04:00
jonathan adamczewski
48dd1912e1 UnrealBuildTool
Adding "using UnrealBuildBase" to some files (submitted separately to make subsequent CLs smaller)

#jira none
#trivial

[CL 16657799 by jonathan adamczewski in ue5-main branch]
2021-06-14 09:25:26 -04:00
David Harvey
876069f28c fix for always-enabled default child plugin whitelists.
#jira UECON-417
#b ben.marsh
#rnx

[CL 16655773 by David Harvey in ue5-main branch]
2021-06-14 04:11:48 -04:00
jonathan adamczewski
b1ec85ea5f ProjectFileGenerator.cs:
Remove redundant list copy

#jira none
#trivial

[CL 16650257 by jonathan adamczewski in ue5-main branch]
2021-06-11 21:12:43 -04:00
jonathan adamczewski
4ece24e65a AutomationTool, BuildUtilities:
UnrealBuild -> Unreal for EngineDirectory, RootDirectory, IsEngineInstalled, UnrealBuildToolPath
Remove CommandUtils EngineDirectory, RootDirectory, IsEngineInstalled - use equvalents from UnrealBuildBase.Unreal

#jira none

[CL 16648181 by jonathan adamczewski in ue5-main branch]
2021-06-11 18:20:44 -04:00