Commit Graph

145 Commits

Author SHA1 Message Date
Andrew Scheidecker
7b4637ed42 Editegrate fix from //UE5/Release-Engine-Staging changelist 18086920 to //UE5/Main:
Enable a project file generator to set ShouldGenerateIntelliSenseData()=true to get module dependency information, but ShouldGenerateIntelliSenseCompileEnvironments()=false to skip generating compile environments for those modules (including writing Definitions.h files).
#rb Jonathan.Adamczewski

#preflight 618d4c5b0c2fa8a2324b1beb

[CL 18154308 by Andrew Scheidecker in ue5-main branch]
2021-11-11 13:08:18 -05:00
aurel cordonnier
34f55d3a4a Merge from Release-Engine-Test @ 17946149 to UE5/Main
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17949667 by aurel cordonnier in ue5-main branch]
2021-10-27 15:14:40 -04:00
jonathan adamczewski
3a05a7883a UnrealBuildTool: Exclude more C# projects from generated solution based on unsupported platform directories
C# projects found in Engine/Platforms/PLATFORM/... will not be included in the generated solution if UBT has decided that PLATFORM is not supported.

Additionally, provides extra logging of which directories and projects have been excluded from the solution.

#jira none

[CL 17818458 by jonathan adamczewski in ue5-main branch]
2021-10-14 13:19:53 -04:00
Joe Kirchoff
1290d6f521 UnrealBuildTool: Remove support for VS2017
#jira UE-126521
#rb Jonathan.Adamczewski
#preflight 6144ffdb11925a000119cac6

[CL 17559611 by Joe Kirchoff in ue5-main branch]
2021-09-17 18:23:27 -04:00
Joe Kirchoff
d2b989022e Remove force disable of bIncludeEngineSource when passing -code
#rnx
#rb none

[CL 17543816 by Joe Kirchoff in ue5-main branch]
2021-09-16 16:14:48 -04:00
joe kirchoff
bca35e241d [Backout] - CL17543621
#fyi Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
ProjectGeneration: Don't filter out engine by default for -game

#jira UE-122365
#rb none
#rnx

[CL 17543744 by joe kirchoff in ue5-main branch]
2021-09-16 16:03:35 -04:00
Joe Kirchoff
5d87c2798d ProjectGeneration: Don't filter out engine by default for -game
#jira UE-122365
#rb none
#rnx

[CL 17543621 by Joe Kirchoff in ue5-main branch]
2021-09-16 15:52:33 -04:00
Joe Kirchoff
cf0749dee0 Don't add all DotNet and Engine programs to -game specific generated projects by default
#jira UE-122365
#rb none

[CL 17542147 by Joe Kirchoff in ue5-main branch]
2021-09-16 14:12:22 -04:00
jonathan adamczewski
0adebd59f9 UnrealBuildTool:
Add new commandline option: -AlwaysRulesCompile, ensures that rules assemblies will be compiled during the run.

#jira none

[CL 17428445 by jonathan adamczewski in ue5-main branch]
2021-09-03 19:25:08 -04:00
jonathan adamczewski
af4d119530 GenerateProjectFiles:
Group Automation projects in the same folder with their Game or Sample project.

#jira none

[CL 17401839 by jonathan adamczewski in ue5-main branch]
2021-09-02 08:49:51 -04:00
jonathan adamczewski
3b26c88ad1 UnrealBuildTool:
Remove unnecessary check for Makefile validity.

#jira none
#rb none
#trivial

[CL 17375405 by jonathan adamczewski in ue5-main branch]
2021-08-31 15:17:41 -04:00
jonathan adamczewski
db8046e278 Move DotNETCommon/BuildUtilities to Shared/EpicGames.Build
Also moves DotNETCommon/Metadata.cs to Shared/Metadata.cs

#jira none
#rb tim.smith

[CL 17116964 by jonathan adamczewski in ue5-main branch]
2021-08-10 11:08:41 -04:00
jonathan adamczewski
8dc68a7f85 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

[CL 17102399 by jonathan adamczewski in ue5-main branch]
2021-08-09 10:39:09 -04:00
Ben Marsh
534eb44440 UBT: Include PCH settings in Visual Studio project files for Intellisense parser.
[CL 16883248 by Ben Marsh in ue5-main branch]
2021-07-19 10:11:52 -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
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
jonathan adamczewski
977e566179 UnrealBuildTool/UnrealBuildFiles.csproj:
Create project in its own directory to avoid confusing other builds with UnrealBuildFiles' intermediate files

#jira none

[CL 16646776 by jonathan adamczewski in ue5-main branch]
2021-06-11 16:38:51 -04:00
jonathan adamczewski
2c9fa5c33f UnrealBuildFiles.csproj
Generate UnrealBuildFiles.csproj, a project that contains references to all of the Build.cs and Target.cs files in the solution, and add it to the generated solution.

With this project in the solution, Intellisense is available when editing these files, and the project may be compiled in Visual Studio, providing representative results of what UBT will do with the files (UBT will re-compile the files when it needs to)

Using Visual Studio 2019 16.9.6, adding this project increased memory usage by ~20MB after load (from 540MB to 560MB) for a workspace containing Engine, and two sample games.

#jira none
#rb ben.marsh

[CL 16642908 by jonathan adamczewski in ue5-main branch]
2021-06-11 12:25:47 -04:00
jonathan adamczewski
f9cdd2dc5d UnrealBuildTool:
Move IsEngineInstalled() into BuildUtilities

#jira none

[CL 16642197 by jonathan adamczewski in ue5-main branch]
2021-06-11 11:37:23 -04:00
Michael Noland
66342d3bed UBT: Place non-source/non-config files in Platforms subfolders correctly into their relative folder structure in the project file
#rb josh.adams

[CL 16630055 by Michael Noland in ue5-main branch]
2021-06-10 16:55:47 -04:00
jonathan adamczewski
94b14ee042 UnrealBuildTool: move some path constants into BuildUtilities
RootDirectory, EngineDirectory, UnrealBuildToolPath are now found in BuildUtilities' UnrealBuild namesapce.

The way these are computed has changed. Previously, it was assumed that the application is UnrealBuildTool, and paths were constructed relative to that assembly.

Now, the assumption is that the process is located under a "Engine/Build/DotNET" sub-path and paths are constructed relative to that.

#jira none

[CL 16607440 by jonathan adamczewski in ue5-main branch]
2021-06-09 12:54:42 -04:00
jonathan adamczewski
78076f869d Move DirectoryLookupCache.cs to BuildUtilities
#jira none

[CL 16596484 by jonathan adamczewski in ue5-main branch]
2021-06-08 19:12:07 -04:00
jonathan adamczewski
0af1ea99af Add a common C# method for detecting the current host platform to EpicGames.Core, and move many a test to use that code.
#jira none
#rb joe.kirchoff

[CL 16593582 by jonathan adamczewski in ue5-main branch]
2021-06-08 17:01:23 -04:00
aurel cordonnier
43fa62fcd8 Merge from Release-Engine-Test @ 16487383 to UE5/Main
This represents UE4/Main @ 16445039 and Dev-PerfTest @ 16444526

[CL 16488106 by aurel cordonnier in ue5-main branch]
2021-05-27 13:40:37 -04:00