Commit Graph

193 Commits

Author SHA1 Message Date
josh adams
1dccb15cbc - Added support for converting Apple clang version to LLVM version
#rb calvin.zheng, Joe.Kirchoff, zack.neyland

[CL 35405557 by josh adams in ue5-main branch]
2024-08-08 15:31:59 -04:00
joe kirchoff
33089071ef UnralBuildTool: Fixing more analysis warnings
#rnx

[CL 35042727 by joe kirchoff in ue5-main branch]
2024-07-23 19:39:24 -04:00
joe kirchoff
671c2e320e UnrealBuildTool: Keep track of root paths per action
#rb henrik.karlsson

[CL 33040286 by joe kirchoff in ue5-main branch]
2024-04-17 12:53:34 -04:00
joe kirchoff
65f7eab2cd UnrealBuildTool: Resolve CA2254, IDE0011, IDE0017, IDE0030, IDE0031, IDE0037, IDE0056, IDE0075, IDE2000, IDE2001
#rnx

[CL 32711093 by joe kirchoff in ue5-main branch]
2024-04-03 17:18:04 -04:00
joe kirchoff
a20c9fbb9e UnrealBuildTool: Format documents, remove and sort usings
#rnx

[CL 32700883 by joe kirchoff in ue5-main branch]
2024-04-03 12:22:43 -04:00
joe kirchoff
e895acc0bb UnrealBuildTool: Resolve IDE0018, IDE0019, IDE0034, IDE0038, IDE0041, IDE0054, IDE0057, IDE0074, IDE0090
#rnx

[CL 32686487 by joe kirchoff in ue5-main branch]
2024-04-02 19:54:03 -04:00
ben marsh
70b1b9ffff Update EpicGames.Perforce.Native to use the 2023.2 Perforce libraries.
#jira UE-196875

[CL 32232271 by ben marsh in ue5-main branch]
2024-03-13 18:43:16 -04:00
josh adams
1490a189af - Split Mac target/deployment versions to have editor and non-editor versions
- Moved them into SDK.json
- Fixed up some deprecation warnings when tarrgeting macOS 13
- IOS is still using old .ini project setting method
#rb adam.kinge, carl.lloyd, zack.neyland

[CL 31651333 by josh adams in ue5-main branch]
2024-02-20 13:42:11 -05:00
josh adams
08d8e93aeb - Force disable Uba for all Link actions on Mac host
- Matched the CanRunRemotely match the force no-Uba for Mac shell commands
#rb Joe.Kirchoff

#changelist validated
#virtualized

[CL 30858422 by josh adams in ue5-main branch]
2024-01-24 15:13:51 -05:00
josh adams
211babf042 - Disabled UBA for Mac linking
#rb henrik.karlsson

[CL 30219428 by josh adams in ue5-main branch]
2023-12-08 16:07:40 -05:00
calvin zheng
70538bb54f Undo changelist 29782249
Linker crash still happening on EngineTestEditor, revert to previous solution.

#rb trivial
[FYI] zack.neyland

[CL 29845998 by calvin zheng in ue5-main branch]
2023-11-20 13:57:09 -05:00
zack neyland
ed02c75fc8 UBT: Remove ld_classic workaround, as bumping the min runtime to 11 removes the need for this. There was a bug with Apple's new linker with generating load ops when targeting 10.x runtimes.
[CL 29782291 by zack neyland in ue5-main branch]
2023-11-16 12:40:14 -05:00
zack neyland
ff42e9e464 UBT: Fix for MakeStubItems with Circular Deps.
[CL 29769278 by zack neyland in ue5-main branch]
2023-11-15 21:04:26 -05:00
calvin zheng
8d6e633f99 Fixing multiple blocking modern xcode issues
#jira UE-198617
#rb Josh.Adams

[CL 29095687 by calvin zheng in ue5-main branch]
2023-10-25 14:06:59 -04:00
joe kirchoff
6638bbba8b UnrealBuildTool: Use IEnumerable for list of toolchain input lists that should be immutable
#rnx

[CL 28484575 by joe kirchoff in ue5-main branch]
2023-10-04 20:25:45 -04:00
josh adams
d975e8d700 - Fixed rpath calculation of paths relative to the executable, so .apps under locations other than Binaries/Mac can find thirdparty dylibs
#rb calvin.zheng

[CL 28209311 by josh adams in ue5-main branch]
2023-09-25 18:24:12 -04:00
josh adams
f905f670fb - Fix a problem with BundleResources not being copied in to Mac and IOS .app bundles (plugin author reported - this is a feature Epic has not used)
#rb calvin.zheng
#jira UE-195538

[CL 27975320 by josh adams in ue5-main branch]
2023-09-18 17:12:52 -04:00
zack neyland
62436d2317 Apple: Update runtime to macos 11 and clean up warnings from doing that.
#jira UE-193947

[CL 27387471 by zack neyland in ue5-main branch]
2023-08-25 15:04:47 -04:00
calvin zheng
453260b02f UBT: Use ld-classic in order to avoid the new linker since it seems to have some bugs with our code base.
Remove redundant -lc++

#jira UE-191350
#rb Josh.Adams, Zack.Neyland

[CL 26852644 by calvin zheng in ue5-main branch]
2023-08-04 13:17:50 -04:00
Josh Adams
574dc31ccb - Very very early support for UE running as a SwiftUI app:
- .ini settings for using SwiftUI main function
  - this will eanble #defines, etc, to enable some embedded style functionality in UE, where SwiftUI will trigger when to create the engine/view/etc
  - assume fully immersive mode, which uses CompositorServices to get drawables from SwiftUI land
  - Added some code to FMetalViewport for using Composotir layer/drawable instead of CoreAnimation layer/drawable
  - If the .ini setting is false, then it will use the original VIsionOS support which works generally in the simulator

- Also removed -lc++ commandline which was causing "duplicate -lc++" warning when building in recent Xcode

#rb adam.kinge

[CL 26769312 by Josh Adams in ue5-main branch]
2023-08-02 09:09:16 -04:00
Josh Adams
b0e29c9e75 - Added basic support for compiling Swift code (not general purpose yet, only the UESwift.swift file in this CL will work for now)
- Added an example SwiftUI view shown on VisionOS, using UIHostingViewController (must be created in Swift, not Obj-C)
- Refactored AppleToolChainSettings and children so AppleToolChain can have a single Swift compile function, and still target the proper toolchain (more cleaning up and pulling into AppleToolChain should now be possible)
#rb joe.kirchoff

[CL 26346396 by Josh Adams in ue5-main branch]
2023-06-30 12:08:50 -04:00
josh adams
82ea6a767a [Backout] - CL26223564
[FYI] keaton.stewart
Original CL Desc
-----------------------------------------------------------------
[Backout] - CL26221679 [Main CIS Issue] Errors in Incremental FortniteServer Linux and Incremental Compile Monolithics - Linux
[FYI] Josh.Adams
Original CL Desc
-----------------------------------------------------------------
- Very super early support for VisionOS (requires Xcode 15 beta2 or later).
- THIS IS NOT USABLE YET - WORK IN PROGRESS!
- It builds, links with IOS libs (warnings, not errors), can cook and it boots in Simulator, but is dying in MetalRHI
- UnrealTargetPlatform.VisionOS is currently defined in Engine code, it is not pulled out like would be correct for a full true platform extension
- Refactored a lot of Build.cs files to use UnrealPlatformGroup.IOS/Apple instead of individual platform checks, to make VisionOS integration simpler
#rb zack.neyland

[CL 26226852 by josh adams in ue5-main branch]
2023-06-24 17:52:48 -04:00
keaton stewart
1fd1a77412 [Backout] - CL26221679 [Main CIS Issue] Errors in Incremental FortniteServer Linux and Incremental Compile Monolithics - Linux
#fyi Josh.Adams
#jira FORT-626566 (edited)
Original CL Desc
-----------------------------------------------------------------
- Very super early support for VisionOS (requires Xcode 15 beta2 or later).
- THIS IS NOT USABLE YET - WORK IN PROGRESS!
- It builds, links with IOS libs (warnings, not errors), can cook and it boots in Simulator, but is dying in MetalRHI
- UnrealTargetPlatform.VisionOS is currently defined in Engine code, it is not pulled out like would be correct for a full true platform extension
- Refactored a lot of Build.cs files to use UnrealPlatformGroup.IOS/Apple instead of individual platform checks, to make VisionOS integration simpler
#rb zack.neyland

[CL 26223564 by keaton stewart in ue5-main branch]
2023-06-23 20:29:27 -04:00
Josh Adams
e25e1b3daf - Very super early support for VisionOS (requires Xcode 15 beta2 or later).
- THIS IS NOT USABLE YET - WORK IN PROGRESS!
- It builds, links with IOS libs (warnings, not errors), can cook and it boots in Simulator, but is dying in MetalRHI
- UnrealTargetPlatform.VisionOS is currently defined in Engine code, it is not pulled out like would be correct for a full true platform extension
- Refactored a lot of Build.cs files to use UnrealPlatformGroup.IOS/Apple instead of individual platform checks, to make VisionOS integration simpler
#rb zack.neyland

[CL 26221679 by Josh Adams in ue5-main branch]
2023-06-23 19:12:47 -04:00
calvin zheng
9498df8d4e Add binary outside of .app as RequiredResource in BuildProducts, so that Horde will copy it in between agents
#jira horde 320844
#rb Josh.Adams

[CL 26092316 by calvin zheng in ue5-main branch]
2023-06-19 11:53:43 -04:00