Commit Graph

5787 Commits

Author SHA1 Message Date
joe kirchoff
0540ae79df UnrealBuildTool: Simplify the UHT #include root path
#rnx

[CL 28475008 by joe kirchoff in ue5-main branch]
2023-10-04 17:00:00 -04:00
joe kirchoff
c6a5333cca UnrealBuildTool: Don't always assume a working set is P4 unless there is a read-only file in the workspace root
#rnx
#jira UE-197123

[CL 28464753 by joe kirchoff in ue5-main branch]
2023-10-04 13:43:53 -04:00
josh adams
c2437d9b07 - Fixed various issues with making Mac/IOS builds that can be uploaded to AppStore in Xcode
* Missing ThinApp.sh
  * Missing some quotes around a variable in GenerateUniversalDSYM.sh
  * Correctly filter out the stub .app's and such when copying the Staged data directory into the .app
  * Disabled the Mac's Sign To Run Locally option by default, as that causes Xcode's Validation/Upload to not have the team name embedded in it, causing a hassle while pushing up to AppStore/TestFlight
  * Fixed the PRODUCT_NAME for BP projects
  * Made CrashReportClient be a sandboxed app that inherits from parent
  * Fix Hybrid apps to check all platforms before in the project generator, so that if a project needs a temp target for IOS (via a plugin)
  * For hybrid projects, don't append Game to the end of the Game target names, as that is the default, and it makes for better named products
  * Disabled the LoginFlow module from OnlineFramework plugin - this was causing issues with having CEF and EpicWebHelper embedded into a sandboxed .app, and LoginFlow isn't seemingly actually used by anything
#jira UE-196297,UE-196299,UE-196296,UE-196300,UE-196295
#rb adam.kinge

[CL 28463729 by josh adams in ue5-main branch]
2023-10-04 13:25:29 -04:00
allan bentham
bcf47fc734 Android: Update memory advisor to v2.0.1
- Add new total memory estimate to logs and crash context.
 - Add memory available estimate to logs and crash context.

#rb chris.babcock

[CL 28450956 by allan bentham in ue5-main branch]
2023-10-04 08:08:04 -04:00
joe kirchoff
eddd5451d7 UnrealBuildTool: WindowsPlatform.HasValidCompiler
#rnx

[CL 28432434 by joe kirchoff in ue5-main branch]
2023-10-03 17:03:41 -04:00
lorry li
7f221d7240 Fix WebTests Android compile errors.
[REVIEW] [at]stephen.ma [at]chris.constantinescu [at]rafa.lecina
#jira UE-196941
#rb [at]stephen.ma [at]chris.constantinescu [at]rafa.lecina

[CL 28415202 by lorry li in ue5-main branch]
2023-10-03 11:18:54 -04:00
yiliang siew
6f83f472d0 Fixes our Clang database generation to produce a compilation database that doesn't trip up against our checks in platform headers, so that it can actually be used properly.
#rb Joe.Kirchoff
#rb Josh.Adams

[CL 28396415 by yiliang siew in ue5-main branch]
2023-10-02 17:33:12 -04:00
joe kirchoff
8cb89effaa UnrealBuildTool: ISPC pass --cpu when compiling not just generating headers
#rnx
#rb fabian.giesen, Ryan.Hummer

[CL 28383568 by joe kirchoff in ue5-main branch]
2023-10-02 13:02:49 -04:00
joe kirchoff
afa19c702c UnrealBuildTool: Remove support for VS2019 msvc toolchain
#jira UE-190039

[CL 28383216 by joe kirchoff in ue5-main branch]
2023-10-02 12:51:44 -04:00
henrik karlsson
5bd0e9a6d2 [UBT]
* Disable box for msvc pgoprofile link steps

[CL 28363493 by henrik karlsson in ue5-main branch]
2023-09-30 00:45:30 -04:00
joe kirchoff
7b737bc85c UnrealBuildTool: Fix QueryMode to allow running in parallel
#rnx

[CL 28358351 by joe kirchoff in ue5-main branch]
2023-09-29 17:58:13 -04:00
david harvey
68dd29f6e7 early out if the PGO data directory doesn't exist, instead of causing an exception from directory enumeration.
#rb Ryan.Hummer
#rnx

[CL 28341354 by david harvey in ue5-main branch]
2023-09-29 10:01:55 -04:00
josh adams
2dc3ceb56b - Improved the path generated for UE_ENGINE_DIRECTORY define by UBT for programs underneath Engine, it will now use ../../../Engine instead of ../.., or more important for Restricted programs, it will use ../../../../../Engine instead of ../../../..
- Some code expects there to be "Engine" in the EngineDir, so it will not use absolute paths for RootDir, etc for Restricted programs
#rb david.harvey

[CL 28325941 by josh adams in ue5-main branch]
2023-09-28 15:21:55 -04:00
henrik karlsson
e273ded9f5 [UBT]
* Disabled box for pgooptimized link actions for now just to rule out if long link time is because of box

[CL 28324916 by henrik karlsson in ue5-main branch]
2023-09-28 14:42:45 -04:00
chris constantinescu
1aeb7faa75 LLT: Pre-analyse dependency graph of low level test targets before setting compilation flags for UE components
Use -Mode=Test by default for all LLT Project to enable pre-analysis of dependency graph.
#jira UE-193632
#rb Sean.Sweeney

[CL 28313218 by chris constantinescu in ue5-main branch]
2023-09-28 06:52:15 -04:00
joe kirchoff
2864b992e7 UnrealBuildTool: Remove defunct HybridExecutor
[CL 28293691 by joe kirchoff in ue5-main branch]
2023-09-27 17:10:23 -04:00
joe kirchoff
b3246e76a1 UnrealBuildTool: Scan AutoSDK for WindowsSDKs rather than hardcoding a single folder to use. This will allow separate versioned folders for Windows SDKs rather than putting all versions into Windows Kits/10
#rnx

[CL 28293011 by joe kirchoff in ue5-main branch]
2023-09-27 17:00:06 -04:00
yiliang siew
d9127095f8 Disable passing /Os and pass /Ob0 when using clang-cl in debug builds by default since otherwise it
interferes with debugging `clang-cl`-generated executables in Visual Studio.
#rb Neil.Henning
#rb Joe.Kirchoff

[CL 28289095 by yiliang siew in ue5-main branch]
2023-09-27 16:01:34 -04:00
dmytro ivanov
8dea99a66a On Android only enable vulkan validation layers in debug in UE, in debug & development in Fortnite.
Copy validation layers .so in any non shipping build.
#jira UE-185390
#rb Dmitriy.Dyomin

[CL 28268168 by dmytro ivanov in ue5-main branch]
2023-09-27 06:16:11 -04:00
henrik karlsson
4e5cfbd978 [UBT]
* Disable box for pgo optimized msvc link actions

[CL 28264489 by henrik karlsson in ue5-main branch]
2023-09-27 01:41:09 -04:00
joe kirchoff
e73f16593a UnrealBuildTool: Additional extensions for clang singlefile compiles
#rnx

[CL 28258245 by joe kirchoff in ue5-main branch]
2023-09-26 20:52:57 -04:00
joe kirchoff
a6e94ff649 UnrealBuildTool: Invalidate makefile if a header only directory is added or removed
#jira UE-191921

[CL 28257409 by joe kirchoff in ue5-main branch]
2023-09-26 20:28:19 -04:00
joe kirchoff
55dc07301f Prevent unnecessary rebuilds of windows resource files for development builds to reduce how often binaries relink
Only embed info from Build.version in exes and dlls for precompiled or shipping targets. This information is always available at runtime via the BuildSettings module regardless of being embedded in the binaries
Set default windows resource ProductVersion to ENGINE_VERSION_STRING if BUILD_VERSION is not defined

#jira UE-195983
#rb ryan.hummer

[CL 28250002 by joe kirchoff in ue5-main branch]
2023-09-26 17:42:24 -04:00
daniel lamb
3e286ea58e Linux can now be cooked on windows platforms without the sdk installed.
Added override cook platform for use by content beacon to the datadrivenplatforminfo.
[REVIEW] [at]Josh.Adams

[CL 28223391 by daniel lamb in ue5-main branch]
2023-09-26 09:13:27 -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