Commit Graph

74 Commits

Author SHA1 Message Date
Rafa Lecina
df001c1d21 Support enable ARC in modules
#jira UE-107891
#review @Sam.Zamani @Bertrand.Carre @Chris.Varnsverry @Roman.Dzieciol @Josh.Adams  @Jack.Porter
#preflight

[CL 23133821 by Rafa Lecina in ue5-main branch]
2022-11-15 06:02:36 -05:00
Josh Adams
34acbcc46f - If CommandLineTools is detected as the build tools location (xcode-select -p), throw an exception with instructions on how to fix
- Stop logging out the xcode-select output every run
#rb bertrand.carre,roman.dzieciol
#preflight 636c0fbedc30a4ce961ca520

[CL 23062131 by Josh Adams in ue5-main branch]
2022-11-09 15:50:03 -05:00
josh adams
b4b723bfa6 - More modernization of Xcode, focusing on Mac, IOS plist still needs a lot of work
- Premade "template" plist files for Mac, MacEditor, IOS, and added a PlistMode to choose between updating a template plist (from engine) or using a "baked" out plist that Xcode won't really mess with (this is still a work in progress, as it still needs thought on how to handle IOS premade vs Mac template, etc)
- Updating icons to using xcassets instead of .icns file
- Added post build step for UBT to write out build versions (increments each build) to a .xcconfig for Xcode to put into the .plist, but it reads previous value. Not terrible, but it still  needs work

#rb adam.king
#preflight 632c7e8ee23e50651b43139b

[CL 22137251 by josh adams in ue5-main branch]
2022-09-22 11:42:27 -04:00
Joe Kirchoff
cd296d6c93 Suppress tidy checks for apple clang toolchains when running clang analyzer
#rnx
#jira UE-162063
#rb trivial
#preflight skipped

[CL 21770245 by Joe Kirchoff in ue5-main branch]
2022-09-02 19:26:01 -04:00
dmytro vovk
37b8ab825c Deprecated bCompileForSize UBT Target option and replaced with OptimizationMode enumto fine tune a balance between speed and\or code size
#jira none
#rb Joe.Kirchoff
#preflight 62ff99b0200ff87e07f75a69

[CL 21511266 by dmytro vovk in ue5-main branch]
2022-08-23 12:44:36 -04:00
Joe Kirchoff
ab763b8aec UnrealBuildTool: Fix -fpch-validate-input-files-content check
#rnx
#rb trivial
#jira UE-159463
#preflight 62d05bf28e4b379590a65be8

[CL 21095032 by Joe Kirchoff in ue5-main branch]
2022-07-14 14:30:32 -04:00
Joe Kirchoff
5ef701b076 UnrealBuildTool: Clean up clang toolchain paths and versioning.
Remove need for most of the derived classes to override CompileCPPFiles

#rnx
#rb trivial
#preflight 62cc8862f22e9d4fdf79a882

[CL 21047169 by Joe Kirchoff in ue5-main branch]
2022-07-11 16:55:46 -04:00
Joe Kirchoff
9cf9210fb0 UnrealBuildTool: Support two-pass CLANG_STATIC_ANALYZER_MODE for all clang platforms
#rnx
#rb none
#preflight 62c4b68ab47aed4cf1c06c0c

[CL 20951826 by Joe Kirchoff in ue5-main branch]
2022-07-05 18:40:43 -04:00
Joe Kirchoff
a29460d1c3 UnrealBuildTool: Reconcile compile action logic to ClangToolChain.CompileCPPFile
#rnx
#rb none
#preflight 62c47ad42823f28cf2351ae4

[CL 20946880 by Joe Kirchoff in ue5-main branch]
2022-07-05 14:48:11 -04:00
Joe Kirchoff
07609ca984 UnrealBuildTool: Reconcile file type specific clang arguments
#rnx
#rb none
#preflight 62bdecf73f0d6beee29aee57

[CL 20901126 by Joe Kirchoff in ue5-main branch]
2022-06-30 15:00:14 -04:00
Joe Kirchoff
c3b0253c1f UnrealBuildTool: Clean up how pch is forced included for clang toolchains
#rnx
#rb none
#preflight 62ba4d2fdc1cd7fc47d772d1
#preflight 62bb3543101ad5bf64b06350

[CL 20861610 by Joe Kirchoff in ue5-main branch]
2022-06-28 13:26:19 -04:00
Joe Kirchoff
0e2b86ca20 UnrealBuildTool: Move clang debug and optimization args to virtual functions
#rb none
#rnx
#preflight 6297e004e809e387be25c7f9

[CL 20471856 by Joe Kirchoff in ue5-main branch]
2022-06-02 13:13:59 -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
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
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
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
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
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