Commit Graph

5447 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
c5fd3412c1 UnrealBuildTool: Always add CppStandard to PCH variant name, to prevent creating duplicate PCH when the engine's cpp standard is mismatched with a project
#rnx

[CL 25826166 by joe kirchoff in ue5-main branch]
2023-06-06 15:59:09 -04:00
henrik karlsson
3f6f69731a [Box]
* Added -BoxNoWrite command line option. When this is set, intermediate/output files are not written to disk (for now there are a few exceptions such as ispc h-files and pch-files)
* Binaries with bug fixes
Added -BoxPrintSummary command line option. By default summary is now not written out to log

#rb joe.kirchoff

[CL 25821777 by henrik karlsson in ue5-main branch]
2023-06-06 13:57:20 -04:00
joe kirchoff
3cde89ad9a BuildSettingsVersion.V4: Default CppStandard to Cpp20. Latest is not being updated to V4 with this change and will happen at a later date
* Add new setting CppStandardEngine so this can be controlled separately for engine module
* CppStandard no longer requires RequiresUniqueBuildEnvironment as it does not affect engine modules

#rb christopher.waters

[CL 25821375 by joe kirchoff in ue5-main branch]
2023-06-06 13:38:28 -04:00
Ben Marsh
b631e32241 Build fix.
[CL 25815530 by Ben Marsh in ue5-main branch]
2023-06-06 10:17:43 -04:00
tim smith
e452362386 Cleaned up naming of structures and classes to reduce the overuse of the word Mapping.
#rb self

[CL 25815125 by tim smith in ue5-main branch]
2023-06-06 10:01:44 -04:00
josh adams
022c45da8b - Disabled the per-project SDK initialization, as it's causing TargetRules to get created early when using -TargetType, which causes problems
#rb trivial

[CL 25810324 by josh adams in ue5-main branch]
2023-06-05 23:25:26 -04:00
christopher waters
37f26ae37e Don't use the Box Executor if compiling with -SingleFile=
#rb henrik.karlsson

[CL 25803371 by christopher waters in ue5-main branch]
2023-06-05 16:56:39 -04:00
josh adams
7da8c50033 - Fixed location of where EnsureXcodeProjectExists() looks for BP projects
- Fixed warning about SDKROOT[sdk=macosx] type warnings with legacy Xcode
#rb axel.riffard,tim.smith

[CL 25796956 by josh adams in ue5-main branch]
2023-06-05 13:25:48 -04:00
robert millar
6bdae7d69e Additional crash reporting information.
- Whether the binaries were created with debug info.
- Engine 'compatible' version from build info.
- CIS job URL that created the binaries.
- Currently executing CIS job URL.

#rb johan.berg

[CL 25796770 by robert millar in ue5-main branch]
2023-06-05 13:22:14 -04:00
galeone
431c09150e [UBT] Add support for Code coverage on Linux
#rb Brandon.Schaefer, Jerome.Delattre, Joe.Kirchoff

[CL 25794147 by galeone in ue5-main branch]
2023-06-05 12:03:25 -04:00
josh adams
c3941a4ccf - Fix for per-project SDK version commandline parsing with -architecture, which was trying to use UEBuildPlatform before it had been initialized
#rb trivial
#preflight 647d66be8549b02876bfb623

[CL 25787133 by josh adams in ue5-main branch]
2023-06-05 01:01:26 -04:00
bryan sefcik
e40d241cde Updated the shared pch logic to not follow the private module dependencies/includes when getting all the possible modules referenced in the pch header.
#jira
#preflight 647bc13b67505cf55c9db0c0

[CL 25783023 by bryan sefcik in ue5-main branch]
2023-06-03 19:34:57 -04:00
joe kirchoff
1cda8cd286 UnrealBuildTool: Revert change to print out diagnostics on an exception
#rnx

[CL 25774991 by joe kirchoff in ue5-main branch]
2023-06-02 17:46:19 -04:00
joe kirchoff
0695fa5a30 UnrealBuildTool: Print upgrade warning when a validate exception happens, not always
#rnx
#preflight 647a3d80f40c6565434472bf

[CL 25770470 by joe kirchoff in ue5-main branch]
2023-06-02 15:11:16 -04:00
joe kirchoff
d16542d547 UnrealBuildTool: If a target fails to vaildate, print any upgrade warnings in case those are the reason
#rnx
#preflight 647a354f1c5c2b3fa2d33cdb

[CL 25769090 by joe kirchoff in ue5-main branch]
2023-06-02 14:35:59 -04:00
josh adams
f6381544e2 - Allow a project to override the Main SDK version for a platform (the platform's project Engine.ini would set
[OverrideSDK]
  SDKVersion=x.y.z
and AutoSDK, or anything using GetMainVersion(), would use that version string instead
- If multiple targets are built in one run of UBT/UAT, it will error out because there is no support to switch SDKs (and builds happen in parallel, etc)
- This is not a complete solution, because it can cause problems with shared tools like ShaderCompileWorker, when different projects are on different SDKs and they have one SCW to share
- Renamed GetMainVersion to GetMainVersionInternal(), and wrapped that in a new non-vitual GetMainVersion() that calls GetMainVersionInternal() (and handles the ini overrides)
#rb david.harvey,dave.barrett
#jira UE-185364
#preflight 647a12e7b0670733186c928e

[CL 25767233 by josh adams in ue5-main branch]
2023-06-02 13:42:59 -04:00
Ben Marsh
c6246d9472 Horde: Reverting CL 25709378; storing hashes with node locators/handles removes a lot of complexity, and makes it easier for clients to cache data.
#preflight 647a06955e71ee4db648158f

[CL 25762879 by Ben Marsh in ue5-main branch]
2023-06-02 11:35:51 -04:00
arciel rekman
7d6b86f71d Regularize support for LTO/ThinLTO for Linux.
- Issue a warning when ThinLTO flag is specified on the command line but has no effect.

#rb Brandon Schaefer
[REVIEW]
#preflight 647a06fcf40c6565433192ac

[CL 25762597 by arciel rekman in ue5-main branch]
2023-06-02 11:26:41 -04:00
Chris Babcock
cd98a42dbc Fix up Lyra warnings
#jira UE-187229
#android
#review @Ryan.Hummer
#rb Ryan.Hummer

#preflight https://horde.devtools.epicgames.com/job/6478f6e77a6aeda41b5a5ed2

[CL 25743610 by Chris Babcock in ue5-main branch]
2023-06-01 17:30:34 -04:00
chris constantinescu
fcf133c0ae NDA platforms in restricted - move some parts into the platform folders
#rb Jerome.Delattre
#preflight 6478ecb71c5c2b3fa23f041d

[CL 25741561 by chris constantinescu in ue5-main branch]
2023-06-01 16:57:35 -04:00
Ben Marsh
f77f72cd32 Horde: More refactoring of storage API to hide bundle implementation details.
- Rename StorageClientBase to BundleStorageClient. The current implementation assumes that bundles will be used for storage.
- Use ReadAsync() methods on NodeHandle to expand content, rather than requiring a TreeReader to be passed around.

#preflight none

[CL 25737520 by Ben Marsh in ue5-main branch]
2023-06-01 15:43:22 -04:00
josh adams
3d31269cdf - Fixed a bug caused by the C# auto-cleanup of code. (foo != "") is not the same as (!string.IsNullOrEmpty(foo)) , it is (foo == null || foo.Length() > 0)
#rb trivial
#preflight skip

[CL 25734570 by josh adams in ue5-main branch]
2023-06-01 14:38:53 -04:00
joe kirchoff
90ee0e778b [Backout] - CL25209946
#fyi Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: Fix failure to open/browse to source file in Visual Studio
* Always update PrimaryProjectName.txt when a project specific solution is generated
* -Game solution is always placed under the project directory, update SourceCodeAccessor according, this code was out of date

#rnx
#jira UE-114382
#preflight 6449c0c4401d328ad93a635b

[CL 25732405 by joe kirchoff in ue5-main branch]
2023-06-01 13:38:36 -04:00
bryan sefcik
eaab0fef8a Added a common UECommon.props file that contains common properties all VS projects need.
Split the common paths into separate properties to save some memory.

Before: 82.6 MB (86,654,951 bytes)
After: 72.3 MB (75,873,141 bytes)

#rb joe.kirchoff
#preflight 647811487f02573726caf5f6
#jira

[CL 25730657 by bryan sefcik in ue5-main branch]
2023-06-01 12:58:20 -04:00