Commit Graph

78 Commits

Author SHA1 Message Date
joe kirchoff
c1f2c38921 Fix PATH separator on non-Windows platforms
#rnx
#jira UE-190551
#rb Ryan.Hummer

[CL 26469820 by joe kirchoff in 5.3 branch]
2023-07-19 16:34:01 -04:00
joe kirchoff
10301fef85 UnrealBuildTool: Allow configuring toolchain and toolchain version to control what msvc version is used when clang is used to compile
#rb Tim.Smith

[CL 26449760 by joe kirchoff in 5.3 branch]
2023-07-18 18:08:05 -04:00
joe kirchoff
acacd6a8de UnrealBuildTool: More automated code cleanup
* Use object type rather than var
* Remove double newlines
* Use pattern matching

#rnx
#preflight 647780095d23eca37d28a387

[CL 25706751 by joe kirchoff in ue5-main branch]
2023-05-31 13:37:21 -04:00
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
a0bafcb13f UnrealBuildTool: If a specific windows sdk is request and is not found, print out all available sdks
#rnx
#rb trivial
#jira UE-185187

[CL 25365370 by joe kirchoff in ue5-main branch]
2023-05-06 02:07:53 -04:00
Joe Kirchoff
13e72fb70e UnrealBuildTool: Update GenerateTLH to build and touch the output file with one command, to prevent cases where the .tlh doesn't exist and isn't created. Allow typelib headers to be generated when using the clang compiler, by using the toolchain's compiler to generate them instead
#rb Tim.Smith
#preflight 6412395ed778f88975239bc0

[CL 24663129 by Joe Kirchoff in ue5-main branch]
2023-03-15 17:50:16 -04:00
michael nicolella
3307640177 UBT: added initial support for the internal AutoRTFM Clang variant
#preflight 640f92e53c2db40029983a70

[CL 24627376 by michael nicolella in ue5-main branch]
2023-03-13 23:01:50 -04:00
bryan sefcik
ff81794e79 Windows ARM64EC fixes.
#fyi josh.adams
#preflight 63d1c8b96a14d8406d8bc780

[CL 23862381 by bryan sefcik in ue5-main branch]
2023-01-25 19:48:06 -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
bryan sefcik
c998a06737 Fixes to get arm64 and arm64ec to partially compile.
#jira
#fyi josh.adams
#preflight 6392612567018b14b5af1d5f

[CL 23456665 by bryan sefcik in ue5-main branch]
2022-12-08 17:28:30 -05:00
joe kirchoff
0ce2b59ad9 UnrealBuildTool: Remove Hostx86 compiler support, clean up unneeded function parameters
#rnx
#rb none
#preflight 636288f90c2e7c8f9198a830

[CL 22917900 by joe kirchoff in ue5-main branch]
2022-11-02 11:43:53 -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
Joe Kirchoff
19dbf376ce UnrealBuildTool: Fix library path for Intel oneAPI c++ compiler, bump min version
#rnx
#rb trivial
#preflight 6329f8f2b40000c8f07f0cc7

[CL 22097112 by Joe Kirchoff in ue5-main branch]
2022-09-20 13:36:56 -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
joe kirchoff
c40bc8f0d5 [Backout] - CL21728329
#fyi Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: Set VS2022 as default compiler and generated solution if all available platforms are supported
Add messaging when generating if the default solution must be downgraded to VS2019 due to a platform that does not support VS2022
Unban 17.3-14.33

#rb Francis.Hurteau
#rb Josh.Adams
#preflight 63080ed91670d55ad5de0945
#preflight 630fb22c660db81edbbe7d12

[CL 21732165 by joe kirchoff in ue5-main branch]
2022-08-31 19:25:13 -04:00
Joe Kirchoff
3384dbfc26 UnrealBuildTool: Set VS2022 as default compiler and generated solution if all available platforms are supported
Add messaging when generating if the default solution must be downgraded to VS2019 due to a platform that does not support VS2022
Unban 17.3-14.33

#rb Francis.Hurteau
#rb Josh.Adams
#preflight 63080ed91670d55ad5de0945
#preflight 630fb22c660db81edbbe7d12

[CL 21728329 by Joe Kirchoff in ue5-main branch]
2022-08-31 16:55:58 -04:00
Joe Kirchoff
cda721d297 UnrealBuildTool: Only include NetFxSDK when required by a module
#jira UE-157151
#rnx
#rb none
#preflight 62b0d523d906bf89a30b6d26

[CL 20743954 by Joe Kirchoff in ue5-main branch]
2022-06-20 16:34:05 -04:00
David Harvey
684d168454 Remove HoloLens platform references from UnrealBuildTool.
#jira UE-149794
#rnx
#rb Jeff.Fisher
#preflight 628f4064f622d972b5ca0202

[CL 20377314 by David Harvey in ue5-main branch]
2022-05-26 05:57:47 -04:00
Ben Marsh
e3aa053269 UBT: Fix exception getting resource compiler path.
#preflight none

[CL 20373999 by Ben Marsh in ue5-main branch]
2022-05-25 20:15:36 -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
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