Commit Graph

380 Commits

Author SHA1 Message Date
henrik karlsson
5e614c9633 [UBT]
* IWYUToolChain - Fixed bug where ordering of produced files had changed and toolchain assumed .o file would be first

#rb none

[CL 25826870 by henrik karlsson in ue5-main branch]
2023-06-06 16:24:25 -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
57a8fe409c UnrealBuildTool: Use expression body for simple properties and accessors
#rnx
#preflight 64766abcfe6a3b258a04cb50

[CL 25691579 by joe kirchoff in ue5-main branch]
2023-05-30 18:01:50 -04:00
Josh Adams
b7d0fe4ab0 - Cleaning up MacExports/IOSExports/IOSDeploy/etc for shared functionality from Modern Xcode
#rb trivial
#preflight 6470ddb73c13defa05f64f51

[CL 25647200 by Josh Adams in ue5-main branch]
2023-05-26 12:51:21 -04:00
tim smith
cf626105dd 1) Replaced bCanCache with new artifact mode flags
2) Added support in artifacts for relative paths
3) Modified ISPC header generation to be cached

At this time, only MSVC compiles are cached and -deterministic must be specified when building.

#rb josh.adams
#preflight 6470a172054af2576a2bd4b9

[CL 25647092 by tim smith in ue5-main branch]
2023-05-26 12:48:45 -04:00
brandon schaefer
41989bf258 Make sure to include autortfm for C files when enabled for the module
#rb none
#preflight none
[FYI] Andrew.Scheidecker, Joe.Kirchoff

[CL 25644345 by brandon schaefer in ue5-main branch]
2023-05-26 12:04:01 -04:00
Josh Adams
a2263b2ce0 - Xcode support for Content Only projects
- Added a top-level .xcconfig file to Xcode workspace for use with UnrealGame/etc so it knows where to find staged data, and set the commandline automatically
  - Stage the UECommandLine.txt file for modern builds because we no longer make the Bootstrap .app
  - Added XcodeBuildMode enum/string so scripts can tell when the project is being built (so build time could act differently than stage time, etc)
  - Making use of the enum and other env vars to skip steps when not needed

- Other fixes for project generation
  - Added -modernxcode and -legacyxcode comandline options which will override the .ini setting (refactored all UseModern checks into one function)
  - Support for programs that have a .uproject, and GPF with -game -project=<program.uproject>
  - Added success return value to FinalizeAppWithModernXcode
  - Added quotes to fix paths with spaces in GenerateProjectFiles.command
  - Enabled parallel AddAdditionalNativeTargetInformation for gathering Frameworks from targts, now that parallel project generation has been enabled and most parallel issues are fixed

#preflight 646ce67c2e78be98411323d9
#rb zack.neyland
#preflight 646f8f2850786bb5ba8a98f0

[CL 25623979 by Josh Adams in ue5-main branch]
2023-05-25 13:04:27 -04:00
brandon schaefer
918a67f6d9 Support enabling AutoRTFM instrumentation on a Module level in UBT
#rb Neil.Henning, Joe.Kirchoff
#preflight 646655bd743f7c995bc7a7ff

[CL 25532181 by brandon schaefer in ue5-main branch]
2023-05-18 15:44:35 -04:00
zack neyland
ffb0c475e5 UBT: Remove explicit objC ABI flags.
#jira UE-113905
#preflight na

[CL 25318459 by zack neyland in ue5-main branch]
2023-05-03 12:05:46 -04:00
Joe Kirchoff
82fb3b1d1c UnrealBuildTool: Ban older VS2022 compilers and update Intel preferred version for 5.3
#rnx
#rb trivial
#preflight 644c174e877716c878266c8f

[CL 25244163 by Joe Kirchoff in ue5-main branch]
2023-04-28 18:27:55 -04:00
Josh Adams
8b1d9615f8 - Packaging and archiving for modern IOS/Mac:
- When doing standard BuildCookRun, package will simply finalize the (likely already finalize) .app in Binaries/<platform>
  - When using Distribution mode, packge will create a .xcarchive in the Xcode Library (as seen in Organizer) to be able to distribute in various modes
  - Archiving will copy either the .app or .xcarchive made above to the archive directory (it will always copy the most recent .xcarchive, since we don't create the directory name, we can't know which archive to copy, so the most recent one wins - not an issue when using -package, because it always makes a new .xcarchive)
- A few code cleanup/refactors in related
#preflight 644ab91fb208f61af82d8f76

[CL 25220287 by Josh Adams in ue5-main branch]
2023-04-27 14:22:37 -04:00
henrik karlsson
11ea5c4396 [UBT]
* Added bCanExecuteRemotelyWithXGE so actions that can't execute remotely because of xge don't turn of remote execution for sndbs etc

#preflight 6448200b877716c878468070
#rb joe.kirchoff

[CL 25192137 by henrik karlsson in ue5-main branch]
2023-04-25 19:24:51 -04:00
Josh Adams
97fae42953 - Fixed QuickLaunch for IOS working with Modern xcode
- No longer try to grab the output from IOS with QuickLaunch as idevicedebug is killing the app too quickly
- The modern Staged directory can now be shared between Development/Shipping/etc, for grabbing any non-Framework .dylibs (like steam)
- Removed the extra --generate-entitlements-der option now that Xcode also always adds it
#preflight 6447d49a024bc608e64072f9
#rb adam.kinge
#preflight 6447d6643d1be392df890776

[CL 25179459 by Josh Adams in ue5-main branch]
2023-04-25 09:51:37 -04:00
Joe Kirchoff
ad77e55008 UnrealBuildTool: Add arch to command message when compiling ISPC
#rnx
#rb trivial
#preflight 644714c6434155a8f85a02ec

[CL 25174050 by Joe Kirchoff in ue5-main branch]
2023-04-24 20:05:37 -04:00
calvin zheng
d615e69004 Exposing xcode settings to UE settings UI (more work about dynamic disabling etc will follow)
#jira N/A
#rb Josh.Adams
#preflight 6446ae7a7368de8c98fc84d2

[CL 25169123 by calvin zheng in ue5-main branch]
2023-04-24 15:15:00 -04:00
Joe Kirchoff
5540d1f0a4 Add missing copyright boilerplate
#rnx
#rb trivial
#preflight skipped

[CL 25129439 by Joe Kirchoff in ue5-main branch]
2023-04-20 12:16:37 -04:00
Joe Kirchoff
dc8bb1972e UnrealBuildTool: Reconcile common clang warnings between VCToolChain and ClangToolChain
#rnx
#rb none
#preflight 6440bb26a9720904a6eb47fc

[CL 25128948 by Joe Kirchoff in ue5-main branch]
2023-04-20 11:54:29 -04:00
Ben Marsh
3889217961 UBT: Merging CL 25121561 to support async ToolMode and ActionExecutor instances.
#preflight none

[CL 25121660 by Ben Marsh in ue5-main branch]
2023-04-19 21:44:13 -04:00
Josh Adams
a64ebd8f34 - Changed AppleToolchain to use -gdwarf-4 instead of -gdwarf-2. Generates smaller debug info
#rb calvin.zheng
#preflight 644059ef0a5a4b944e03b2cb

[CL 25117255 by Josh Adams in ue5-main branch]
2023-04-19 17:44:58 -04:00
yiliang siew
2eb3d3add2 Adds a new bEnableLibFuzzer option for desktop platforms.
#rb Joe.Kirchoff
[FYI] Brandon.Schaefer
#preflight 643f1cebb91c1307586cba5c

[CL 25099401 by yiliang siew in ue5-main branch]
2023-04-18 20:53:49 -04:00
Josh Adams
1e6ed89565 - Frameworks working on Mac with Modern Xcode just like IOS frameworks
- Update frameworks with a Framework mode to differentiate between linking with it and copying to .app (in case of a static lib framework, or load-only dylib
- Updated CEF3 to work as a normal framework (if we have a universal framework binary, it would be simpler, because LoadInMain() would work without any paths)
#rb roman.dzieciol
#preflight 643484117536ac6b78ae7ce3

[CL 24985043 by Josh Adams in ue5-main branch]
2023-04-10 18:08:40 -04:00