Commit Graph

79 Commits

Author SHA1 Message Date
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
Joe Kirchoff
6c78f8ae7e UnrealBuildTool: vscode project generation fixes
#jira UE-129894
#jira UE-133193
#jira UE-133199
#rb trivial
#rnx
#preflight 61fd730ab145346c9e89ee26

[CL 18868837 by Joe Kirchoff in ue5-main branch]
2022-02-04 13:55:56 -05:00
jeff fisher
c1958b0acd UE-136919 //UE5/Main - Compile UnrealGame HoloLens - No required compiler toolchain found
-The build machine was trying to use a locally installed toolchain that did not have the arm64 toolchain installed.
-We now identify toolchains with arm64 support and select from only those for arm64 builds.
#rb Joe.Kirchoff, Josh.Adams
#jira UE-136919
#preflight

#ROBOMERGE-AUTHOR: jeff.fisher
#ROBOMERGE-SOURCE: CL 18665835 in //UE5/Release-5.0/... via CL 18665840 via CL 18665864
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v901-18665521)

[CL 18665888 by jeff fisher in ue5-main branch]
2022-01-19 16:20:07 -05:00
jonathan adamczewski
5c48869c86 UnrealBuildTool: rename MasterProject settings as PrimaryProject, and some other uses of 'master'
Variable, function and class renames only. XML-facing variables included deprecated support for the old names.

Renaming of the MasterProjectName.txt file will be handled in a subsequent change.

#jira none
#preflight 61d8a162ec35d1b940f74818

#ROBOMERGE-AUTHOR: jonathan.adamczewski
#ROBOMERGE-SOURCE: CL 18550269 in //UE5/Release-5.0/... via CL 18550308
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18550325 by jonathan adamczewski in ue5-release-engine-test branch]
2022-01-07 15:40:01 -05: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
aurel cordonnier
a12d56ff31 Merge from Release-Engine-Staging @ 17791557 to Release-Engine-Test
This represents UE4/Main @17774255, Release-5.0 @17791557 and Dev-PerfTest @17789485

[CL 17794212 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-12 21:21:22 -04:00
joe kirchoff
73856b7e60 [Backout] - CL17543621
[FYI] Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
ProjectGeneration: Don't filter out engine by default for -game

#jira UE-122365
#rb none
#rnx

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

[CL 17543756 by joe kirchoff in ue5-release-engine-test branch]
2021-09-16 16:05:14 -04:00
joe kirchoff
639beb2725 ProjectGeneration: Don't filter out engine by default for -game
#jira UE-122365
#rb none
#rnx

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

[CL 17543624 by joe kirchoff in ue5-release-engine-test branch]
2021-09-16 15:52:48 -04:00