Commit Graph

87 Commits

Author SHA1 Message Date
joe kirchoff
acf80ab609 [Backout] - CL25694851
[FYI] Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: More automated code cleanup

#rnx

[CL 25695155 by joe kirchoff in ue5-main branch]
2023-05-30 19:55:37 -04:00
joe kirchoff
7ed1a39679 UnrealBuildTool: More automated code cleanup
#rnx

[CL 25694864 by joe kirchoff in ue5-main branch]
2023-05-30 19:36:05 -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
joe kirchoff
57a8fe409c UnrealBuildTool: Use expression body for simple properties and accessors
#rnx
#preflight 64766abcfe6a3b258a04cb50

[CL 25691579 by joe kirchoff in ue5-main branch]
2023-05-30 18:01:50 -04:00
joe kirchoff
a53dc3cf98 Prevent fatal error when generating projects if there's an error creating the TargetRules that can be ignored
#rnx
#rb trivial

[CL 25515660 by joe kirchoff in ue5-main branch]
2023-05-17 16:22:48 -04:00
robert millar
16a5091a38 Write tasks and launch configurations to workspace file instead of .vscode directory so users can persist their own files in that directory.
#rb joe.kirchoff

[CL 25460540 by robert millar in ue5-main branch]
2023-05-12 17:40:11 -04:00
robert millar
3bc53dfb24 Remove unnecessary setting from generated workspace file.
#rb none
#jra none

[CL 25454564 by robert millar in ue5-main branch]
2023-05-12 13:34:17 -04:00
robert millar
7d6b167959 Use PrimaryProjectName to name VS Code workspace file.
#rb joe.kirchoff

[CL 24602823 by robert millar in ue5-main branch]
2023-03-10 22:22:51 -05:00
robert millar
ca13a075b7 Use RunUBT batch file instead of Build batch file.
Add default file exclusions to vs code workspace when building for use with extension.

#rb none

[CL 24536036 by robert millar in ue5-main branch]
2023-03-07 00:29:05 -05: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
1610c3bee3 UnrealArch/UnrealArchitectures changes
- Creates the UnrealArchitectures class, which wraps a list of UnrealArch objects
 - UnrealArch is a single architecture, expandable enum-like struct
 - There is no more concept of "no/default architecture", there is always a valid active architecture when building
 - Most uses of "string Architecture" are replaced with one of the two above, depending if multiple architectures are supported or not
 - UnrealArch has some platform-extensions for platform-specific naming (like Linux adds in LinuxName that turns, for instance, Arm64 -> aarch64-unknown-linux-gnueabi, which is used in folder names, etc)
 - UnrealArch has bIsX64 which can be used determine intel instruction set (as opposed to arm)
 - TargetRules class has an "Architecture" accessor that will return a single architecture if the active architectures is a single architecture, or throw an exception if multiple. This is useful in a majority of the cases where a paltform can only have a single architecture active in TargetRules (microsoft platforms, for instance, will create separate targets when compiling multiple architectures at once)
 - Added UnrealArchitectureConfig class, which contains all the architecture information for a platform (what architectures are supported, what ones are currently active for given project, etc)

#preflight 63c81fb5b065224750a1759e
#rb mike.fricker,roman.dzieciol,joe.kirchoff,dmytro.vovk,brandon.schaefer [various parts]
#p4v-preflight-copy 23562471

[CL 23829977 by josh adams in ue5-main branch]
2023-01-24 09:30:28 -05:00
dapetcu21
dec5b7cf10 PR #9077: Make VSCode .ignore entries absolute (Contributed by dapetcu21)
#preflight 63b4981d43330e63e57f8860

[CL 23569732 by dapetcu21 in ue5-main branch]
2023-01-03 16:07:10 -05: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
Joe Kirchoff
da7e506b3c UnrealBuildTool: Option to allow using clang linker when using clang compiler
#jira UE-141794
#preflight  632b7b02d747fe52c8fde58d

[CL 22126361 by Joe Kirchoff in ue5-main branch]
2022-09-21 18:08:19 -04:00
joe kirchoff
f99158f2d2 UnrealBuildTool: Use correct default visual studio toolchain when clang is the compiler instead of always using 2019. Via UDN.
#rnx
#rb none
#preflight 632b4e3dd747fe52c8e825c3

[CL 22121220 by joe kirchoff in ue5-main branch]
2022-09-21 15:46:54 -04:00
robert millar
f55dc0a8d3 Add an option to include the CPP/WinRT language projection headers. Set TargetWindowsVersion to configured value when using Windows 10 SDK.
#rb joe.kirchoff

[CL 21828373 by robert millar in ue5-main branch]
2022-09-06 16:23:06 -04:00
dmytro vovk
5bad8f37b7 Removed legacy Android Project Settings
#rb Chris.Babcock

[CL 21467626 by dmytro vovk in ue5-main branch]
2022-08-19 19:18:13 -04:00
Joe Kirchoff
89698ba820 UnrealBuildTool: Suppress duplicate key exception when generating vs code projects
#rnx
#rb trivial
#preflight skipped

[CL 20815980 by Joe Kirchoff in ue5-main branch]
2022-06-24 16:02:55 -04:00
dapetcu21
99b68fe7f2 PR #9076: Fix invalid JSON keys in VSCode project generation (Contributed by dapetcu21)
#preflight 62a7d10567522b9df0130f53

[CL 20638603 by dapetcu21 in ue5-main branch]
2022-06-13 20:12:07 -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
Joe Kirchoff
c512a89ace Rename UnrealBuildTool.EngineSourceDirectory -> Unreal.EngineSourceDirectory
#rnx
#rb trivial
#preflight 628e9fdaf622d972b59ebe85

[CL 20372061 by Joe Kirchoff in ue5-main branch]
2022-05-25 17:54:39 -04:00
jonathan adamczewski
c1bb6901bf Upgrade to .NET 6.0
#jira UE-119846
#preflight 624cbb2ecc0872e96b0d5181

[CL 19652696 by jonathan adamczewski in ue5-main branch]
2022-04-06 14:46:50 -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