Commit Graph

3903 Commits

Author SHA1 Message Date
joe kirchoff
c70a4812aa VsCodeProjectGen: Remove references to UE4 and fix some old references that weren't updated
#rb trivial
#rnx

#ROBOMERGE-SOURCE: CL 17127079 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17127089 by joe kirchoff in ue5-release-engine-test branch]
2021-08-10 19:00:34 -04:00
joe kirchoff
5dbbc7fefd UnrealBuildTool: Don't allow remote linking for XGE when on vpn
#rb trivial
#rnx

#ROBOMERGE-SOURCE: CL 17126665 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17126674 by joe kirchoff in ue5-release-engine-test branch]
2021-08-10 18:44:19 -04:00
joe kirchoff
efcc4cc23e Add sourceFileMap to generated vs code launch.json for installed builds, so the debugger can load source files correctly when debugging the editor
#jira UE-116120
#rb none

#ROBOMERGE-SOURCE: CL 17122328 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17122338 by joe kirchoff in ue5-release-engine-test branch]
2021-08-10 15:31:15 -04:00
jonathan adamczewski
2b7b866f45 Move DotNETCommon/BuildUtilities to Shared/EpicGames.Build
Also moves DotNETCommon/Metadata.cs to Shared/Metadata.cs

#jira none
#rb tim.smith

#ROBOMERGE-SOURCE: CL 17116964 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17116977 by jonathan adamczewski in ue5-release-engine-test branch]
2021-08-10 11:09:18 -04:00
josh adams
8a9348f4e6 - Allow for a target to add extra linker commandline options in Visual Studio
#rb jeff.newquist
#p4v-preflight-copy 17108935
#preflight 6111b4ca6c6eb0000111d110

#ROBOMERGE-SOURCE: CL 17109665 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v854-17104634)

[CL 17109718 by josh adams in ue5-release-engine-test branch]
2021-08-09 20:03:12 -04:00
chris babcock
d0dd9d1136 Fix issue with resizableActivity in manifest
#jira UE-106793
#ue5
#android
#rb trivial

#ROBOMERGE-SOURCE: CL 17107327 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v854-17104634)

[CL 17107359 by chris babcock in ue5-release-engine-test branch]
2021-08-09 16:42:47 -04:00
jonathan adamczewski
f270855eef AutomationTool: Compile script modules within the application
Add a layer of caching to avoid running msbuild as much as possible.

#jira UE-109181
#rb ben.marsh

#ROBOMERGE-SOURCE: CL 17102399 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v853-17066230)

[CL 17102408 by jonathan adamczewski in ue5-release-engine-test branch]
2021-08-09 10:39:35 -04:00
david harvey
c2d487e045 Adding RunUAT command to generate a report from DDPI values.
RunUAT ListPlatformDetails -DDPISection=ShaderPlatform/DataDrivenPlatformInfo


This generates an html report for DataDrivenPlatformInfo.ini files showing the values that are set & unset for all of them for easy comparison.


#jira UECON-467
#rb dave.barrett

#ROBOMERGE-SOURCE: CL 17101900 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v853-17066230)

[CL 17101910 by david harvey in ue5-release-engine-test branch]
2021-08-09 10:09:14 -04:00
joe kirchoff
567ef02953 UnrealBuildTool: Always print number of tasks complete when building with XGE even if bWriteMarkup isn't enabled
#jira UE-117879
#rb trivial
#rnx
#preflight 610c4e16462fac0001145463

#ROBOMERGE-SOURCE: CL 17076783 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v853-17066230)

[CL 17076790 by joe kirchoff in ue5-release-engine-test branch]
2021-08-05 17:59:34 -04:00
joe kirchoff
42b096846e UnrealBuildTool: Prefer Clang 11 on Windows, to match the current version supported for Linux
#rb none
#rnx
#preflight 610c3629af46f0000104a468

#ROBOMERGE-SOURCE: CL 17075777 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v853-17066230)

[CL 17075789 by joe kirchoff in ue5-release-engine-test branch]
2021-08-05 17:02:46 -04:00
ben marsh
9e32e05d71 UBT: Fix files added to the working set not invalidating the makefile.
[FYI] Andy.Firth

#ROBOMERGE-SOURCE: CL 17074097 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v853-17066230)

[CL 17074113 by ben marsh in ue5-release-engine-test branch]
2021-08-05 15:22:32 -04:00
josh adams
e68d49fc4c - Fixed up some platform module references in C# for building with some platforms force disabled (brought over from UE4)
#preflight 610c043c6b1f8c00017194dd
#rb none

#ROBOMERGE-SOURCE: CL 17074043 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v853-17066230)

[CL 17074052 by josh adams in ue5-release-engine-test branch]
2021-08-05 15:17:09 -04:00
joe kirchoff
e0deb1a5fc UnrealBuildTool: VS2019 shouldn't return VS2022 clang toolchain, but also scan VS2022 install for clang as well
#rb trivial
#rnx

#ROBOMERGE-SOURCE: CL 17072522 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v853-17066230)

[CL 17072540 by joe kirchoff in ue5-release-engine-test branch]
2021-08-05 14:08:58 -04:00
joe kirchoff
de1e588e8b UnrealBuildTool: Clean up some intellisense suggestions, format documents, remove and sort usings, etc.
#rb trivial
#rnx

#ROBOMERGE-SOURCE: CL 17059447 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v850-17047176)

[CL 17059463 by joe kirchoff in ue5-release-engine-test branch]
2021-08-04 16:50:01 -04:00
joe kirchoff
8833994540 UnrealBuildTool: Additional cleanup in TaskExecutor. Enforce output always printing in correct order
#rb trivial
#rnx

#ROBOMERGE-SOURCE: CL 17058741 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v850-17047176)

[CL 17058747 by joe kirchoff in ue5-release-engine-test branch]
2021-08-04 16:13:22 -04:00
joe kirchoff
a5c1b543c0 UnrealBuildTool: Cancel TaskExecutor action if any PrerequisiteActions fail, as it will also most likely fail
#rb trivial
#rnx

#ROBOMERGE-SOURCE: CL 17057678 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v850-17047176)

[CL 17058382 by joe kirchoff in ue5-release-engine-test branch]
2021-08-04 16:00:50 -04:00
stefan boberg
4df1135c34 UE4 -> UE
#jira none
#rb trivial
[FYI] jonathan.adamcewski

#ROBOMERGE-SOURCE: CL 17048101 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v850-17047176)

[CL 17048102 by stefan boberg in ue5-release-engine-test branch]
2021-08-04 06:40:32 -04:00
jonathan adamczewski
0b1bc1cd22 UnrealBuildTool:
Attempts to identify invalid arguments & print help were insufficiently clever.

(UnrealBuildTool "-Target=UnrealEditor Win64 Development" would show help rather than build)

#jira none
#trivial

#ROBOMERGE-SOURCE: CL 17033269 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v846-17029325)

[CL 17035597 by jonathan adamczewski in ue5-release-engine-test branch]
2021-08-03 14:44:22 -04:00
joe kirchoff
3f62a7c2b6 UnrealBuildTool: Add Internal headers to UHTModuleInfo
#rnx
#rb trivial

#ROBOMERGE-SOURCE: CL 17032469 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v846-17029325)

[CL 17035522 by joe kirchoff in ue5-release-engine-test branch]
2021-08-03 14:43:00 -04:00
aurel cordonnier
dc4bf61540 Merge from Release-Engine-Staging @ 17030559 to Release-Engine-Test
This represents UE4/Main @ 17030256 and Dev-PerfTest @ 17030553

[CL 17031509 by aurel cordonnier in ue5-release-engine-test branch]
2021-08-03 11:56:47 -04:00
jonathan adamczewski
f3c823dcaa UnrealBuildTool:
Add a -Help option that prints descriptions of global options.
(Tool mode options are not available - support for those may be added in a future CL)

Example output:

Global options:
  -Help               :  Display this help.
  -Verbose            :  Increase output verbosity
  -VeryVerbose        :  Increase output verbosity more
  -Log                :  Specify a log file location instead of the default Engine/Programs/UnrealBuildTool/Log.txt
  -Timestamps         :  Include timestamps in the log
  -FromMsBuild        :  Format messages for msbuild
  -Progress           :  Write progress messages in a format that can be parsed by other programs
  -NoMutex            :  Allow more than one instance of the program to run at once
  -WaitMutex          :  Wait for another instance to finish and then start, rather than aborting immediately
  -RemoteIni          :  Remote tool ini directory
  -Mode=              :  Select tool mode. One of the following (default tool mode is "Build"):
                           AggregateParsedTimingInfo, Build, Clean, Deploy, Execute, GenerateClangDatabase, GenerateProjectFiles,
                           IOSPostBuildSync, JsonExport, ParseMsvcTimingInfo, PVSGather, QueryTargets, SetupPlatforms,
                           ValidatePlatforms, WriteDocumentation, WriteMetadata
  -Clean              :  Clean build products. Equivalent to -Mode=Clean
  -ProjectFiles       :  Generate project files based on IDE preference. Equivalent to -Mode=GenerateProjectFiles
  -ProjectFileFormat= :  Generate project files in specified format. May be used multiple times.
  -Makefile           :  Generate Linux Makefile
  -CMakefile          :  Generate project files for CMake
  -QMakefile          :  Generate project files for QMake
  -KDevelopfile       :  Generate project files for KDevelop
  -CodeliteFiles      :  Generate project files for Codelite
  -XCodeProjectFiles  :  Generate project files for XCode
  -EddieProjectFiles  :  Generate project files for Eddie
  -VSCode             :  Generate project files for Visual Studio Code
  -VSMac              :  Generate project files for Visual Studio Mac
  -CLion              :  Generate project files for CLion
  -Rider              :  Generate project files for Rider

#jira none

#ROBOMERGE-SOURCE: CL 17018675 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v839-17012307)

[CL 17018680 by jonathan adamczewski in ue5-release-engine-test branch]
2021-08-02 14:45:58 -04:00
ben zeigler
e9bd4ff609 #jira UE-120464 Add Custom Config directory feature, which allows specifying an override directory to support shipping multiple types of builds per platform
Setting CustomConfig=Foo in a Target.cs file will cause it to overlay config files from Project/Config/Custom/Foo on top of the defaults, allowing easy override of things like OSS settings to support multiple stores
In development, -CustomConfig=foo can be specified in both C++ and C# to enable the same functionality, which can be used to select between multiple different stage/deploy configurations in a build script
#rb josh.adams, ben.marsh

#ROBOMERGE-SOURCE: CL 17017130 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v839-17012307)

[CL 17017144 by ben zeigler in ue5-release-engine-test branch]
2021-08-02 12:22:46 -04:00
jonathan adamczewski
76e7d07097 UnrealBuildTool: QMakefileGenerator.cs
Use StringBuilders to significantly reduce runtime. More could be done, but this seems to address the slowest part.

#jira none
#trivial

#ROBOMERGE-SOURCE: CL 17015466 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v839-17012307)

[CL 17015468 by jonathan adamczewski in ue5-release-engine-test branch]
2021-08-02 09:37:46 -04:00
jonathan adamczewski
b7c1369681 RulesCompiler: Add a batched FindAllRulesFiles() override
Batched function allows greater overlap when scanning the filesystem.
AutomationTool startup time is reduced by ~150ms on my machine

#jira none
#rb ben.marsh

#ROBOMERGE-SOURCE: CL 17000954 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 17000959 by jonathan adamczewski in ue5-release-engine-test branch]
2021-07-29 16:48:25 -04:00
jonathan adamczewski
b0c6904623 Cache the xcode version obtained from xcodebuild
Each invocation of `xcodebuild -version` can take > 100ms. Caching the result reduces startup time of UnrealBuildTool and AutomationTool by 1-2 seconds.

#jira none

#ROBOMERGE-SOURCE: CL 16999582 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16999589 by jonathan adamczewski in ue5-release-engine-test branch]
2021-07-29 15:03:58 -04:00