Commit Graph

50 Commits

Author SHA1 Message Date
Josh Adams
f650515e01 - Added a parameter to GenerateProjectFiles() to control if it generates the QueryTargets data for the editor (only the first project format needs to do this)
- Disabled it with IOS stub project gneeration that doesn't need the data (it can be slow)
#rb joe.kirchoff
#preflight 641a0b24ec01de1664e1bd7d

[CL 24738624 by Josh Adams in ue5-main branch]
2023-03-21 16:17:30 -04:00
LennardF1989
9a67525476 PR #8239: Support for project-specific BuildConfiguration.xml and Programs during project file generation (Contributed by LennardF1989)
Contains some additional changes from Joe.Kirchoff:
* Fix project dependency for rules parent chain
* Always add UnrealBuildTool and AutomationTool .csproj for game targets -except-
* Filter out other non-critial .csproj unless engine programs are included

#jira UE-120122
#jira UE-176963
#preflight 6413c6668354cad0facc7388

[CL 24690813 by LennardF1989 in ue5-main branch]
2023-03-17 12:14:26 -04:00
robert millar
7d0459511f Additional UBT features for supporting a VS Code extension for intellisense.
#rb joe.kirchoff

[CL 24297310 by robert millar in ue5-main branch]
2023-02-17 22:39:26 -05:00
Josh Adams
0f1dbb1c49 - Added MarkUsed flag to CommandLineAttribute
- Fixed up how UnrealArchitectureConfig classes have commandline applied
- Proper fix for UE-176691
#jira UE-176691
#rb joe.kirchoff
#preflight 63ebd379514832b2425b83c2

[CL 24217163 by Josh Adams in ue5-main branch]
2023-02-14 13:57:08 -05:00
joe kirchoff
2871eccc2c UnrealBuildTool: Fix issue that is causing -Compiler= to not be applied to WindowsTargetRules by applying arch configs and command lines in the TargetRules. Partial back out of 23931789
#rnx
#jira UE-176691
[FYI] Josh.Adams
#preflight 63e58a7dcf3b0e3deea9303e

[CL 24114144 by joe kirchoff in ue5-main branch]
2023-02-09 22:37:55 -05:00
Josh Adams
bff11d0cb8 - Another HoloLens compiler fix for allowing XmlConfig and CommandLine overrides for compiler version (to specify 2019 compiler). Only project settings were being respected before
- Apply commandline options to UnrealArchitectureConfig objects in Build and GenProject modes
- Also fixed a commant for XML documentation
#rb tim.smith
#jira UE-175633
#preflight 63d9525931334253e599eaa5

[CL 23930591 by Josh Adams in ue5-main branch]
2023-01-31 12:48:45 -05:00
Josh Adams
c3e31cec90 - Added some logging to GenerateProjectFiles, when writing multiple project formats, to indicate what is happening (like why "Generating data for project indexing" is printed twice)
- Added VSMac as a default project format for Mac (so its easier to manage C# code)
#rb Roman.Dzieciol
#preflight 639a30f52540a78d279e80b7

[CL 23517492 by Josh Adams in ue5-main branch]
2022-12-14 15:36:40 -05:00
joe kirchoff
144ce56048 UnrealBuildTool: Move some util properties to EpicGames.Build
#rnx
#rb trivial
#preflight 6362e8e86000216d2e2b4bdd

[CL 22937953 by joe kirchoff in ue5-main branch]
2022-11-02 23:07:24 -04:00
Robert Millar
d1ae213d52 Server mode for UBT for use by VS Code extension. Provides compile configuration on demand, responding to commands over stdin in json format.
VS Code project file generator argument to skip compile commands json files.
VS Code project file generator adds VS Code extension id as configuration provider to configurations.
Add optional implementable funcion for toolchains to return the path to default C++ compiler.
Add rootdirectory= argument to provide root directory if UBT is published to a different directory than standard.

#jira none
#preflight 635c08e6052cb0bae6a5371a

[CL 22831178 by Robert Millar in ue5-main branch]
2022-10-28 12:59:39 -04:00
henrik karlsson
d50cfaab05 [UnrealBuildTool]
* Fixed so .uproject added on commandline is fixed up with correct casing to make sure it generate the same solution as when discovering uproject file when not provided

Fixes so UGS, UnrealVs.RefreshProjects and GenerateProjectFiles.bat all create the same thing

#preflight 62f6b700f3107c023c182236
#rb Joe.Kirchoff

#ROBOMERGE-AUTHOR: henrik.karlsson
#ROBOMERGE-SOURCE: CL 21365731 via CL 21387079 via CL 21389956 via CL 21390645
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v975-21357124)

[CL 21392587 by henrik karlsson in ue5-main branch]
2022-08-15 15:51:18 -04:00
UnrealBot
73409369c0 Branch snapshot for CL 21319338
[CL 21319338 in ue5-main branch]
2022-08-10 16:03:37 +00:00
Guillaume Abadie
8f5ff8c1ed Fixes Unhandled exception: System.MissingMethodException: Constructor on type 'UnrealBuildTool.AndroidProjectGenerator' not found when generating project files
Regression seams to be caused by 20373777

#rb none
#fyi Ben.Marsh
#preflight none

[CL 20376229 by Guillaume Abadie in ue5-main branch]
2022-05-26 01:10:57 -04:00
Ben Marsh
cbb950c578 UBT: Use ILogger throughout UBT, rather than legacy EpicGames.Core.Log methods. All output going forwards should use structured logging rather than String.Format style logging.
#preflight 628e9dc6e746de4961f60032

[CL 20373777 by Ben Marsh in ue5-main branch]
2022-05-25 19:55:37 -04:00
jonathan adamczewski
0a6164bbd3 nullability annotations, rethrow fixes, net6.0 warning suppression
#jira none
#trivial
#rnx
#preflight 62425155c61d8a458f230657

[CL 19536049 by jonathan adamczewski in ue5-main branch]
2022-03-28 20:50:06 -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
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -05:00
joe kirchoff
c46a4af3c5 UnrealBuildTool: Remove support for VS2017
#jira UE-126521
#rb Jonathan.Adamczewski
#preflight 6144ffdb11925a000119cac6

#ROBOMERGE-AUTHOR: joe.kirchoff
#ROBOMERGE-SOURCE: CL 17559611 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17559616 by joe kirchoff in ue5-release-engine-test branch]
2021-09-17 18:25:11 -04:00
jonathan adamczewski
9ccfa4b86c UnrealBuildTool, AutomationTool:
Print path to log file, print a timestamp at the top of each log file, don't print (wrong) callstack location.

#jira none
#rb ben.marsh

#ROBOMERGE-SOURCE: CL 17351052 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)

[CL 17351057 by jonathan adamczewski in ue5-release-engine-test branch]
2021-08-30 08:44:36 -04:00
jonathan adamczewski
52fb70eda1 UnrealBuildTool:
Move StartupTraceListener.cs to BuildUtilities

#jira none

#ROBOMERGE-SOURCE: CL 16608546 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16608556 by jonathan adamczewski in ue5-release-engine-test branch]
2021-06-09 13:40:10 -04:00
Joe Kirchoff
9879d7f52d UnrealBuildTool: Support VS2022 Preview
Default is still VS2019, running `GenerateProjectFiles.bat -2022` will create a solution and projects that pass -2022 to UnrealBuild tool when compiling from Visual Studio to force it to use the 2022 toolchain.
Please note, as the defaults are unchanged building from UnrealGameSync will still compile with VS2019 so I would disable that build if testing VS2022.
None of this is necessary to use VS2022, it can open VS2019 solutions and will use the Vs2019 toolchain to build.

#rb Ben.Marsh
#pf 60aebccd7d4b9f0001197729

[CL 16478477 by Joe Kirchoff in ue5-main branch]
2021-05-26 19:58:10 -04:00
Joe Kirchoff
75edf837e1 Remove build support for Visual Studio 2015
#rb Jonathan.Adamczewski
#preflight 60ad7f3b8194e700015e1d77

[CL 16459038 by Joe Kirchoff in ue5-main branch]
2021-05-25 20:10:26 -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
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