Commit Graph

249 Commits

Author SHA1 Message Date
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
b2c14352d8 UnrealBuildTool: Readd -Wno-range-loop-analysis warnings for Apple platforms, there appears to be outstanding issues that presubmit did not notify of
#rnx
#rb trivial
#preflight skipped

[CL 20373606 by Joe Kirchoff in ue5-main branch]
2022-05-25 19:47:09 -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
Josh Adams
56ebcb9323 - Changed ClangToolchain to use absolute paths for errors, so IDEs are better able to go to the file/line of the error
#rb joe.kirchoff
#jira none
#preflight 628e7f39731cfa46fcd165da

[CL 20370476 by Josh Adams in ue5-main branch]
2022-05-25 16:01:26 -04:00
Joe Kirchoff
66dce80795 UnrealBuildTool: Relative pathing for ISPCToolChain, clean up argument strings, only process global arguments once
#rnx
#rb none
#preflight 628e5ac0731cfa46fcc7200a

[CL 20367155 by Joe Kirchoff in ue5-main branch]
2022-05-25 12:54:46 -04:00
Joe Kirchoff
6c92065094 UnrealBuildTool: Merge various Clang ToolChainOptions enums
#rb none
#rnx
#preflight 62843567925bbe69df8dc8d4

[CL 20358298 by Joe Kirchoff in ue5-main branch]
2022-05-24 19:41:41 -04:00
Joe Kirchoff
2096e9af16 UnrealBuildTool: Move more common warning disables to ClangToolChain
#rnx
#rb none
#preflight 628bce97016e5daa1cc535ba
#preflight 628bd06469091e8bfe1303e7

[CL 20333841 by Joe Kirchoff in ue5-main branch]
2022-05-23 14:35:21 -04:00
Joe Kirchoff
1e55c7850b UnrealBuildTool: Move PGO optimize and shipping warning flags to ClangToolChain
#rnx
#rb none
#preflight 62858274614041edb7b07186

[CL 20271722 by Joe Kirchoff in ue5-main branch]
2022-05-18 19:52:23 -04:00
Joe Kirchoff
4a9a434da9 UnrealBuildTool: Move more common warnings to ClangToolChain
#rb none
#rnx
#preflight 62843567925bbe69df8dc8d4
#preflight 628435d0f536779152e3d9b2

[CL 20254319 by Joe Kirchoff in ue5-main branch]
2022-05-17 20:34:03 -04:00
Joe Kirchoff
d18a746b08 UnrealBuildTool: Remove warnings from base ClangToolChain (missed in previous cl)
#rnx
#rb none
#preflight 62841787486700b561a69d7e

[CL 20252218 by Joe Kirchoff in ue5-main branch]
2022-05-17 18:00:42 -04:00
joe kirchoff
ae5f805c7b UnrealBuildTool: Merging common clang warnings to ClangToolChain base class. Moved all warnings to overridden functions out of GetCompileArguments_Global
Removed -Wsequence-point (Synonym for -Wunsequenced) from Linux as it is enabled by default
#rb none
#rnx
#preflight 62841106114e08fa2f3ebdfe

[CL 20251810 by joe kirchoff in ue5-main branch]
2022-05-17 17:37:13 -04:00
joe kirchoff
f201a3fdae [Backout] - CL20248654
#fyi Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: Merging common clang warnings to ClangToolChain base class. Moved all warnings to overridden functions out of GetCompileArguments_Global

Removed -Wsequence-point (Synonym for -Wunsequenced) from Linux as it is enabled by default
#rb none
#rnx
#preflight 6283e6e04316db80d1a3d973

[CL 20249554 by joe kirchoff in ue5-main branch]
2022-05-17 15:35:45 -04:00
Joe Kirchoff
b5055e62ef UnrealBuildTool: Merging common clang warnings to ClangToolChain base class. Moved all warnings to overridden functions out of GetCompileArguments_Global
Removed -Wsequence-point (Synonym for -Wunsequenced) from Linux as it is enabled by default
#rb none
#rnx
#preflight 6283e6e04316db80d1a3d973

[CL 20248654 by Joe Kirchoff in ue5-main branch]
2022-05-17 15:00:59 -04:00
Joe Kirchoff
3ed8a895d6 UnrealBuildTool: Update clang toolchains (except Android) to fill a list of string arguments rather than returning a single string
#rb none
#rnx
#preflight 627ecada5a0a06a57ea881a1

[CL 20190395 by Joe Kirchoff in ue5-main branch]
2022-05-13 18:08:52 -04:00
Joe Kirchoff
3fd8f7fbde UnrealBuildTool: Add minimal GetCompileArguments_Global in ClangToolChain. Currently only sets -e, -pipe, header include paths, & preprocessor definitions
#rb trivial
#rnx
#preflight 627d9ec0a82f3adab8b85ab0

[CL 20182062 by Joe Kirchoff in ue5-main branch]
2022-05-13 11:34:49 -04:00
David Harvey
2847488f33 Do not use --pic for modular builds on any Microsoft-based platforms, not just Windows.
#jira UE-151434
#rnx
#rb Nuno.Leiria
#preflight 627d3c1d332e182a583f8db4

[CL 20166726 by David Harvey in ue5-main branch]
2022-05-12 13:01:43 -04:00
Joe Kirchoff
e45cc77314 UnrealBuildTool: Move include path and preprocessor definition arguments to ClangToolChain virtual functions
#rb trivial
#rnx
#preflight 627c3f3e1e74993343ba1846

[CL 20153646 by Joe Kirchoff in ue5-main branch]
2022-05-11 19:14:13 -04:00
Joe Kirchoff
880c5bfd6e UnrealBuildTool: Begin moving common functions from clang based toolchains to base ClangToolChain.
#rb brandon.schaefer
#rb chris.babcock
#preflight 627ad0017e5f24d1ede6d5d0
#preflight 627ada7a0a5817c9d91562c0
#rnx

* Move ClangVersion variables to base class and share function to check version. A separate change will add a virtual function for parsing the clang version for each toolchain as to not add complexity to this change.
* GetCppStandardCompileArgument: Used by all, no differences
* GetCompileArguments_CPP: Used by all. Switch & Apple are overridden
* GetCompileArguments_C: Used by all, no differences
* GetCompileArguments_MM: Used by Linux & Apple. Apple is overridden.
* GetCompileArguments_M: Used by Linux & Apple. Apple is overridden.
* GetCompileArguments_CPP: Used by all. Switch & Apple are overridden.
* GetRTTIFlag: Used by Linux & Apple, no differences.

[CL 20131754 by Joe Kirchoff in ue5-main branch]
2022-05-10 19:08:08 -04:00
Joe Kirchoff
28aa202dbe UnrealBuildTool: Move ISPCToolChain to it's own file
#rnx
#rb trivial
#preflight 625de85eb21bb49791d0a7be

[CL 19797267 by Joe Kirchoff in ue5-main branch]
2022-04-18 18:53:30 -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
David Harvey
5214adb5c9 Toolchains can modify the target receipt, for adding custom properties etc.
#jira UE-146417
#rb Eric.McDaniel
#rnx
#preflight 623c393b89625f0612d522fb

[CL 19492903 by David Harvey in ue5-main branch]
2022-03-24 05:32:04 -04:00
will damon
9150b53e06 Back out CL 19336418
- CL 19336418 introduced a regression in building the tools. Backing it out for now.

#rb self
#jira none
#rnx
#preflight n/a

[CL 19356312 by will damon in ue5-main branch]
2022-03-11 11:48:15 -05:00
dave hunter
63e760b25d Refactor Apple Platforms Compilation
This work aims to make it so more of the work to compile files between the various Apple platforms is shared.

#rb andrew.grant
#jira UE-111577
#preflight none
#rnx

[CL 19336418 by dave hunter in ue5-main branch]
2022-03-10 10:41:46 -05:00