Commit Graph

62 Commits

Author SHA1 Message Date
joe kirchoff
33089071ef UnralBuildTool: Fixing more analysis warnings
#rnx

[CL 35042727 by joe kirchoff in ue5-main branch]
2024-07-23 19:39:24 -04:00
joe kirchoff
5f5a8a703e UnrealBuildTool: Move several helper functions to EpicGames.Build
#rnx

[CL 33815711 by joe kirchoff in ue5-main branch]
2024-05-21 19:32:34 -04:00
joe kirchoff
65f7eab2cd UnrealBuildTool: Resolve CA2254, IDE0011, IDE0017, IDE0030, IDE0031, IDE0037, IDE0056, IDE0075, IDE2000, IDE2001
#rnx

[CL 32711093 by joe kirchoff in ue5-main branch]
2024-04-03 17:18:04 -04:00
joe kirchoff
a20c9fbb9e UnrealBuildTool: Format documents, remove and sort usings
#rnx

[CL 32700883 by joe kirchoff in ue5-main branch]
2024-04-03 12:22:43 -04:00
hnrqbaggio
4a0f4f68c9 PR #11383: Project Generator for VS Workspace support
#jira UE-205245

[CL 31016596 by hnrqbaggio in ue5-main branch]
2024-01-30 14:45:10 -05:00
joe kirchoff
68c06bfbcc UnrealBuildTool: Remove VS2019 support
#jira UE-190039

[CL 30943783 by joe kirchoff in ue5-main branch]
2024-01-26 17:21:00 -05:00
bryan sefcik
6d9b945de1 Updated all of the intellisense data gathering to be done in parallel.
Updated a few project generators to be thread safe.
Fixed an issue where the vproject generation wasn't deterministic.
Updated the project generation to output the total time it took to execute.

Before: 21.62 seconds
After: 17.56 seconds

#jira
#rb joe.kirchoff

[CL 27179702 by bryan sefcik in ue5-main branch]
2023-08-17 14:18:48 -04:00
Josh Adams
17fdc6481d - Moved the SingleTargetName property up to ProjectFileGenerator from Xcode generator, and use it to remove Targets from the list to be processed. This is useful because when modern Xcode creates a stub xcode project for a Program, it has no uproject to use with "-game -project", so the GPF code would process all .Target.cs files, which can lead to warnings about missing AdditionalPluginDirectories (build machines may not fully sync a stream, and processing every Target can cause unexpected problems)
#rb joe.kirchoff

[CL 26132088 by Josh Adams in ue5-main branch]
2023-06-20 15:59:57 -04:00
joe kirchoff
c04da27b3b UnrealBuildTool: More automated code cleanup
#rnx
#preflight 64767efb4b1ead7c7f428c7a

[CL 25693857 by joe kirchoff in ue5-main branch]
2023-05-30 18:59:32 -04:00
joe kirchoff
36d266e932 UnrealBuildTool: Automated code cleanup
#rnx
#preflight 6476799e947ff6973c225619

[CL 25693241 by joe kirchoff in ue5-main branch]
2023-05-30 18:38:07 -04:00
Ben Marsh
3889217961 UBT: Merging CL 25121561 to support async ToolMode and ActionExecutor instances.
#preflight none

[CL 25121660 by Ben Marsh in ue5-main branch]
2023-04-19 21:44:13 -04:00
bryan sefcik
dc02f727ea Small opts in the project generation code.
#p4v-preflight-copy 25094409
#preflight 643f034e0a5a4b944e9bce2c

[CL 25095304 by bryan sefcik in ue5-main branch]
2023-04-18 17:19:15 -04:00
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