Commit Graph

303 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
Wojciech Krywult
5b7ef50b76 UBT: Edit and Continue: Unified the property names used to enable edit and continue.
On some platforms we used bUseLiveCodeEdit, which was expected to be present in the per-platform configuration block. At the same time, on Windows we rely on bSupportEditAndContinue from BuildConfiguration.

Modified the console platforms to use BuildConfiguration.bSupportEditAndContinue for consistency. However, there is some value in being able to control this setting per-platform, so I've left the existing properties and just renamed them bUseLiveCodeEdit -> bSupportEditAndContinue.

As a result, all platforms that support Edit and Continue are affected by BuildConfiguration.bSupportEditAndContinue. However, if XXPlatform.bSupportEditAndContinue is presetnt, it overrides the global.

Removed ClangToolChainOptions.EnableLiveCodeEditing and related code as it turns out it wasn't really used.

#preflight 637274a99e3bea8079f98af5
#rb Joe.Kirchoff

[CL 23120407 by Wojciech Krywult in ue5-main branch]
2022-11-14 12:15:28 -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
joe kirchoff
48003d0b0a UnrealBuildTool: Remove property that disables generating cpp dependency files
#rnx
#rb trivial

[CL 22918025 by joe kirchoff in ue5-main branch]
2022-11-02 11:47:47 -04:00
joe kirchoff
ca4fefe38d UnrealBuildTool: Use copy action helper for copying ISPC headers
#rnx
#rb trivial

[CL 22918001 by joe kirchoff in ue5-main branch]
2022-11-02 11:47:09 -04: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
peter sauerbrei
837fd45177 potential fix for PGO data directory
#rb joe.kirchoff
[REVIEW] [at]derek.ehrman, [at]joe.barnes, [at]brian.white, [at]elizabeth.bunner

[CL 22788157 by peter sauerbrei in ue5-main branch]
2022-10-26 16:15:10 -04:00
bryan sefcik
3c6a04fdf6 Fixed an issue where SNDBS would fail to compile files on agents because the inlined gen.cpp files were not setup as prerequisites.
#rb joe.kirchoff

[CL 22464949 by bryan sefcik in ue5-main branch]
2022-10-11 16:49:17 -04:00
joe kirchoff
159e690669 [Backout] - CL22412472
#fyi Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: Use copy action helper for copying ISPC headers

#rnx
#rb trivial
#preflight 6340ae67c6753f31ce905a7e

[CL 22431518 by joe kirchoff in ue5-main branch]
2022-10-10 12:14:52 -04:00
Joe Kirchoff
045610442a UnrealBuildTool: Use copy action helper for copying ISPC headers
#rnx
#rb trivial
#preflight 6340ae67c6753f31ce905a7e

[CL 22412472 by Joe Kirchoff in ue5-main branch]
2022-10-07 19:26:23 -04:00
Joe Kirchoff
aa107eef25 UnrealBuildTool: Remove StaticAnalyzerDisabledCheckers.Contains("all") as there is now a boolean bDisableStaticAnalysis
#rnx
#rb trivial
#preflight 6340a133c6753f31ce8bfc5d

[CL 22411001 by Joe Kirchoff in ue5-main branch]
2022-10-07 18:05:13 -04:00
Robert Millar
a677dbc70e Allow disabling all static analysis on a module.
#rb joe.kirchoff
#jira none
#preflight https://horde.devtools.epicgames.com/job/6340540e174b13865728ca7c

[CL 22403984 by Robert Millar in ue5-main branch]
2022-10-07 13:30:19 -04: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
4c62ff6248 UnrealBuildTool: Generate CompileScore data when compiling with clang traces if the compile score extractor is available in /Engine/Extras/ThirdPartyNotUE/CompileScore
#rb none
#jira UE-163049
#preflight 631a5420a20b67673ba704c4

[CL 21910501 by joe kirchoff in ue5-main branch]
2022-09-08 21:29:17 -04:00
joe kirchoff
8b9ce2e98a UnrealBuildTool: Archive clang traces when gathering -Timing summaries
#rnx
#rb trivial
#preflight 631a351fec45fbf3d73d2848

[CL 21909319 by joe kirchoff in ue5-main branch]
2022-09-08 20:47:53 -04:00
Joe Kirchoff
f0d9c2541d UnrealBuildTool: Update clang pgo profile to pass -fprofile-generate instead of -fprofile-instr-generate
#rnx
#rb trivial
#preflight 631795d07b21ad1e0a21ac32

[CL 21827327 by Joe Kirchoff in ue5-main branch]
2022-09-06 15:43:49 -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
Joe Kirchoff
667fbb5f2b UnrealBuildTool: Add missing PrerequisiteItems when copying generated ISPC header
#jira UE-148059
#rnx
#rb trivial
#preflight 63127af07b21ad1e0ab7e4dc

[CL 21769194 by Joe Kirchoff in ue5-main branch]
2022-09-02 18:36:49 -04:00
Joe Kirchoff
9b55ef770f UnrealBuildTool: Determinisitic build configuration update to manage via TargetRules and ModuleRules
#rnx
#rb none
#preflight 63056e3a516bef57ffc5a099

[CL 21527850 by Joe Kirchoff in ue5-main branch]
2022-08-23 20:33:31 -04:00
bryan sefcik
1599bfae2e Rewrote the GenerateClangDatabase mode in UBT to work with the clang tools like IWYU.
#preflight 63052ee5c744dac967fc287f

[CL 21519266 by bryan sefcik in ue5-main branch]
2022-08-23 16:36:20 -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
ae6cf65b94 UnrealBuildTool: Support clang 14 by suppressing new warning.
Bump minimum windows clang to 13 to match other platforms

#rnx
#rb trivial
#preflight 62fc3b422d5e2ed99ce1fae9

[CL 21418778 by Joe Kirchoff in ue5-main branch]
2022-08-16 21:08:10 -04:00
Joe Kirchoff
e4224e8cef Complete disable running static code analysis on ONNXRuntime
#preflight 62fab1a5b66d5d931386e7f2

[CL 21393941 by Joe Kirchoff in ue5-main branch]
2022-08-15 16:58:37 -04:00
Joe Kirchoff
ede8e06501 Disable static analysis checkers for ONNXRuntime
#rnx
#rb trivial
#preflight 62fa95004211c9997ddadc2c

[CL 21391331 by Joe Kirchoff in ue5-main branch]
2022-08-15 15:00:41 -04:00
Joe Kirchoff
371c0b0624 UnrealBuildTool: Move static analysis checker options into ModuleRules rather than TargetRules
#rnx
#rb none
#preflight 62f6e75de67510be05db43f9

[CL 21368307 by Joe Kirchoff in ue5-main branch]
2022-08-12 20:06:00 -04:00