Commit Graph

343 Commits

Author SHA1 Message Date
Joe Kirchoff
0e3c9f756f UnrealBuildTool: Slightly optimize generated visual studio project to reduce memory usage
* Filter out numerous source files that match */Source/ThirdParty/* that should have already been filtered, this does not include Module.Build.cs or .tps files, or if bGatherThirdPartySource is enabled
* Filter out source files that match */third_party/* by default
* Add option bIncludeDotNetPrograms to remove all ..NET projects, doing so saved me around 400MB. Note if you disable the .NET projects UnrealBuildTool won't build before compiling (but GenerateProjectFiles.bat will still build it)

Attempted changes that did not reduce memory usage by a significant amount:
* Filtering out project configurations
* Filtering out Engine/Shaders or Engine/Content/Editor/Templates
* Increasing the shared include size, even making it large enough to contain every include path didn't really make a difference. Also it can't really be increased anyway because that entire property is added to the process environment when starting a build and there's a max environment size of around 32k

Other Fixes:
* Fix vs2019 ToolVersionString 15.0 -> 16.0
* Add VCProjectVersion to Project globals
* Update UniqueIdentifier GUIDs in projects to be stable by hashing the directory path and using that hash as the GUID
* Don't write ProjectConfiguration if filtered out (Didn't affect memory usage)
* Add optional configuration filter for Debug, DebugGame, & Development

#jira UE-111822
#rb none

[CL 16319735 by Joe Kirchoff in ue5-main branch]
2021-05-13 17:38:21 -04:00
Andrew Grant
90d0d3032d Fixed two cases where blocked directories in ExcludedIncludePaths in BuildConfiguration.xml weren't always followed.
1) If the user specified a path as Bar\ then "Foo\Bar" would still be allowed (but not Foo\Bar\File.h) due to the trailing directory slash.

2) Code that deals with platform specific includes (ALiasedFiles) would omit the included file but still include the path in the AdditionalIncludeDirectories entry

#review-16240187 @andy.firth
#jira nojira
#preflight 6095b7c726ed4f0001615079

[CL 16240409 by Andrew Grant in ue5-main branch]
2021-05-07 18:42:13 -04:00
jonathan adamczewski
882f48323d UnrealBuildTool: Remove SupportsDotNetCoreProjects()
VS2019 is the minimum required VS version, and has support for NET Core projects - we no longer need this check.

#jira none

[CL 16175554 by jonathan adamczewski in ue5-main branch]
2021-04-30 22:12:17 -04:00
jonathan adamczewski
6ea321339f VSCodeProjectFileGenerator.cs:
IsRunningOnMono -> !IsRunningOnWindows

#trivial
#jira none

[CL 16175242 by jonathan adamczewski in ue5-main branch]
2021-04-30 21:02:50 -04:00
jonathan adamczewski
6050e64605 ProjectFileGenerator.cs:
IsRunningOnMono -> !IsRunningOnWindows

#trivial
#jira none

[CL 16174952 by jonathan adamczewski in ue5-main branch]
2021-04-30 20:04:55 -04:00
aurel cordonnier
50944fd712 Merge UE5/RES @ 16162155 to UE5/Main
This represents UE4/Main @ 16130047 and Dev-PerfTest @ 16126156

[CL 16163576 by aurel cordonnier in ue5-main branch]
2021-04-29 19:32:06 -04:00
jeff newquist
5ea7789d60 Rename UE4CommandLine.txt to UECommandLine.txt and deal with all the related changes
#rb TBD
#jira UE-113713

[CL 16093056 by jeff newquist in ue5-main branch]
2021-04-22 10:29:26 -04:00
alfred reynolds
d1711761ba - Fix linux compile error in webhelper app. Clang needs this to be a reference for the iterator (which makes sense)
- Include EpicWebHelper-Linux-Shipping in the "RequiredTools" section of the default makefile so it is compiled by default for linux users

#jira UE-113970
#lockdown simon.tourangeau

#ROBOMERGE-SOURCE: CL 16092786 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v789-15992632)

[CL 16092790 by alfred reynolds in ue5-main branch]
2021-04-22 09:56:32 -04:00
Marc Audy
01b7c9f4f5 Merge UE5/RES @ 15958325 to UE5/Main
This represents UE4/Main @ 15913390 and Dev-PerfTest @ 15913304

[CL 15958515 by Marc Audy in ue5-main branch]
2021-04-08 14:32:07 -04:00
axel riffard
88c3b94b92 Fix Xcode build deprecation warning
#jira UE-110799
#rb jack.porter
[FYI] will.damon, andrew.grant, dave.hunter
#preflight 605c88fcdf0ab500014b24fc

#ROBOMERGE-SOURCE: CL 15822569 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v785-15821902)

[CL 15826704 by axel riffard in ue5-main branch]
2021-03-25 13:29:15 -04:00
brandon schaefer
8e74f1f022 UE4 -> UnrealEngine
#jira UE-111064, UE-111109
#rb none

#ROBOMERGE-SOURCE: CL 15810144 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v783-15756269)

[CL 15814366 by brandon schaefer in ue5-main branch]
2021-03-24 21:23:27 -04:00
rolando caloca
bb8b3ac23b UE5EA - Fix UE4 reference
#rb trivial
#jira UE-111419

#ROBOMERGE-SOURCE: CL 15807542 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v783-15756269)

[CL 15813866 by rolando caloca in ue5-main branch]
2021-03-24 20:54:44 -04:00
halfdan ingvarsson
a19838492a Update C++17 (and C++20) support for all platforms that were missing from CL 15801501.
#jira none
#rb brandon.schaefer
#rnx
#preflight 605b8507e8944a0001f3441d

[CL 15810185 by halfdan ingvarsson in ue5-main branch]
2021-03-24 18:11:38 -04:00
halfdan ingvarsson
a02942648e Make it somewhat easier to bump C++ versions:
* Re-defined CppStandardVersion.Default in terms of existing enums and removed it from maps and switches etc.
* Added C++20 flags for all the recognized compilers.

#jira none
#rb ben.marsh
#rnx

[CL 15801501 by halfdan ingvarsson in ue5-main branch]
2021-03-24 12:27:44 -04:00
Marc Audy
0cbbc781ca Merge UE5/Release-Engine-Staging @ 15740152 to UE5/Main
This represents UE4/Main @ 15709114

[CL 15740605 by Marc Audy in ue5-main branch]
2021-03-18 15:20:03 -04:00
Marc Audy
8f73cd7fa9 Merge UE5/Release-Engine-Staging @ 15630841 to UE5/Main
This represents UE4/Main @ 15601601

[CL 15631170 by Marc Audy in ue5-main branch]
2021-03-05 19:27:14 -04:00
ben marsh
96813c1e8b Create a stable GUID for *.csproj files in the solution if there isn't one in the project itself (as is the case with NET Core).
#rb none
#rnx

#ROBOMERGE-SOURCE: CL 15561660 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15561665 by ben marsh in ue5-main branch]
2021-03-01 16:46:34 -04:00
Marc Audy
9753392e2b Merge UE5/RES CL# 15462083 to UE5/Main
This represents UE4/Main @ 15414221

[CL 15463811 by Marc Audy in ue5-main branch]
2021-02-18 18:13:28 -04:00
ben marsh
252afb693c UBT: Rename UE4CSharp.prog files to *.uprogram.
#rb none
#jira UE-104764

#ROBOMERGE-SOURCE: CL 15440534 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15454164 by ben marsh in ue5-main branch]
2021-02-18 13:09:06 -04:00
Josh Engebretson
19a3987686 Fix for netcore AutomationTool/UnrealBuildTool binaries
#jira UE-108221
#rb ben.marsh

[CL 15387203 by Josh Engebretson in ue5-main branch]
2021-02-11 09:31:41 -04:00
Marc Audy
cac1fe0019 Merge UE5/Release-Engine-Staging @ CL# 15299266 to UE5/Main
This represents UE4/Main @ CL# 15277572

[CL 15299962 by Marc Audy in ue5-main branch]
2021-02-03 14:57:28 -04:00
Josh Adams
b0e4357576 - UBT Code changes to remove 32-bit Windows support (C++ code for 32-bit still exists)
#rb marc.audy (concept, not each file)

[CL 15265424 by Josh Adams in ue5-main branch]
2021-01-31 15:09:58 -04:00
Marc Audy
bc88b73a29 Merge Release-Engine-Staging to Main @ CL# 15151250
Represents UE4/Main @ 15133763

[CL 15158774 by Marc Audy in ue5-main branch]
2021-01-21 16:22:06 -04:00
Marc Audy
bf80889353 UE5/Release-Engine-Staging to UE5/Main
This represents UE4/Main up to CL# 14958402

[CL 15028197 by Marc Audy in ue5-main branch]
2021-01-08 19:56:07 -04:00
mark lintott
53511dcacd #jira UE-104748
#rb Ben.Marsh

Renamed UE4.natvis to Unreal.natvis
Fixed up Project File Generator within the Unreal Build Tool

[CL 15009828 by mark lintott in ue5-main branch]
2021-01-07 10:21:33 -04:00