Commit Graph

4672 Commits

Author SHA1 Message Date
joe kirchoff
9cb4952d3c UnrealBuildTool: Support automatically downgrading project if platform sdk does not support a version of visual studio
This is required to update the default visual studio version, however that change is currently on hold due to a compiler issue

#rnx
#rb trivial
#preflight 6328f2df826e0c2fe90f097a

[CL 22088638 by joe kirchoff in ue5-main branch]
2022-09-20 00:48:51 -04:00
anton dunchev
e825604e90 Process control:
- Implemented priority control on Unix platform
- Refactored RunnableThreadUnix implementation
- Bump resource limits for process scheduling priority (nice) if possible

#rb LouisPhilippe.Seguin, Brandon.Schaefer
[FYI] anrew.ladenberger

[CL 22087348 by anton dunchev in ue5-main branch]
2022-09-19 22:28:24 -04:00
bryan sefcik
dc368e588b Added the ability to override the NumIncludedBytesPerUnityCPP from the module rules. This is needed by some modules to better tune the size of the unity files.
Before:
1 Unity file
Total CPU Time: 162.90625 s
Total time in Parallel executor: 61.62 seconds

After:
6 Unity files
Total CPU Time: 169.15625 s
Total time in Parallel executor: 16.64 seconds

#jira
[FYI] nick.darnell, joe.kirchoff
#preflight 632889795f55ba280ec1ef84

[CL 22087017 by bryan sefcik in ue5-main branch]
2022-09-19 21:57:04 -04:00
marc audy
2b95f60225 Set bUseVerse true for UE5
#skipci

[CL 22069343 by marc audy in ue5-main branch]
2022-09-18 02:31:14 -04:00
bryan sefcik
e5edfdd06d Added support to inline the gen.cpp files into the module cpp files.
This change does a few things:
* Improves compile times because the gen.cpp is inlined so less header parsing is required.
* Allows us to forward declare more types in the headers where we were not able to because the gen.cpp files did not have all the required headers included. The gen.cpp files required the header that generated it to include all the types because of the constructor and desructor in the gen.cpp need to know the full type.

#jira
#preflight 6323b43f8131e92d65aed1d9

[CL 22064061 by bryan sefcik in ue5-main branch]
2022-09-16 20:28:51 -04:00
joe kirchoff
c5059272b8 UnrealBuildTool: -CompilerVersion=Latest should filter out preview toolchains. If the latest preview toolchain is desired, -CompilerVersion=Preview is already available
#rnx
#rb trivial
#preflight 6324bcf98c3def91aaa25ee4

[CL 22059655 by joe kirchoff in ue5-main branch]
2022-09-16 16:31:10 -04:00
real-mikhail
c717e1f3b3 PR #9569: Rider project model: get the list of supported configurations from UnrealBuildTool (Contributed by real-mikhail)
#jira UE-163885
#rb Joe.Kirchoff
#tests Tested in Rider and MSVS

[CL 22058287 by real-mikhail in ue5-main branch]
2022-09-16 15:53:01 -04:00
Bertrand Carre
241e69db84 Mac: Allow to launch UE Editor through XCode without commandline
#jira none
#review-22029391 @Josh.Adams @Rafa.Lecina
#preflight 632482cc3752284a318025a7

[CL 22049175 by Bertrand Carre in ue5-main branch]
2022-09-16 10:30:38 -04:00
Josh Adams
47372e99ae - Better solution for Xcode 14 requiring plist file for Mac local signing:
* Remove the "Mac short circuit" blocks of code in the project generator as it was skipping the code that sets up PLIST and BUNDLE_IDENT settings (which Xcode14 will need)
* Point Xcode at the temp plist files that project generator makes
* Make sure to copy the final plist on top of the temp plist file so Xcode will pull that one into the .app at the end
#preflight 6323ef8b74361465143e1b86

[CL 22045794 by Josh Adams in ue5-main branch]
2022-09-15 23:54:29 -04:00
joe kirchoff
a33d9cccf2 UnrealBuildTool: Fix check for community version of visual studio
#rnx
#rb trivial
#preflight 6323bddf8131e92d65b06268

[CL 22044148 by joe kirchoff in ue5-main branch]
2022-09-15 21:22:37 -04:00
Ryan Hummer
730c61da7b Adding a known compile log event for an xcode library
It comes from sterr so needs to be outside the normal warning/error checking in the CompilerEventMatcher

#rnx
#jira UE-163741
#rb ben.marsh
#preflight 63221b3347741a7dbd834069

[CL 22021414 by Ryan Hummer in ue5-main branch]
2022-09-14 20:52:50 -04:00
joe kirchoff
ddde68229a UnrealBuildTool: Also check for .git file as that denotes a git worktree, when getting the source file working set
#jira UE-163648
#rnx
#rb trivial
#preflight 63224a07e93a80888cc68507

[CL 22019750 by joe kirchoff in ue5-main branch]
2022-09-14 18:56:57 -04:00
ValeryKomarov
15cfaa9785 PR #9546: Improvements to PVS-Studio. PVSToolChain handles 3 additional settings from the Settings.xml file. New settings are added into .cfg file that is used by PVS-Studio.exe. (Contributed by ValeryKomarov)
#jira UE-163056
#rnx
#rb none
#preflight 63220f158c478acecfca3c61

[CL 22019531 by ValeryKomarov in ue5-main branch]
2022-09-14 18:48:33 -04:00
tim smith
a13076902b Added warnings when C++ UHT is used. These warnings include the reasons why C++ UHT is being used. The warning is currently disabled but informational messages will still be generated.
#rb
#preflight 6322088da514fd1e37319c62

[CL 22015813 by tim smith in ue5-main branch]
2022-09-14 16:44:09 -04:00
Josh Adams
358ee918b3 - Fixing BuildTest project that is under a differently named directory - the uprojectdirs file couldn't be found because the UE_ENGINE_DIRECTORY was wrong
#jira UE-158214
#rb chris.Constantinescu
#preflight skip

[CL 22015098 by Josh Adams in ue5-main branch]
2022-09-14 16:16:15 -04:00
Josh Adams
6dc98e43ae - Fixed bad xcode project format, missing a "
#jira UE-163738
#rb trivial
#preflight skip

[CL 22015002 by Josh Adams in ue5-main branch]
2022-09-14 16:13:38 -04:00
ValeryKomarov
83ea803f17 [Backout] - CL21968191
[FYI] Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
PR #9546: Improvements to PVS-Studio. PVSToolChain handles 3 additional settings from the Settings.xml file. New settings are added into .cfg file that is used by PVS-Studio.exe. (Contributed by ValeryKomarov)

#jira UE-163056
#rnx
#rb none
#preflight 631f62013267bd833664f6aa

[CL 22011804 by ValeryKomarov in ue5-main branch]
2022-09-14 14:22:10 -04:00
joe kirchoff
86b7fb7fb6 UnrealBuildTool: Fix extension of clang-cl timing manifest
#rnx
#rb trivial
#preflight 631fc3b4f331adf70d69159c

[CL 21986609 by joe kirchoff in ue5-main branch]
2022-09-13 13:17:40 -04:00
joe kirchoff
e9173de95f UnrealBuildTool: Write trace files for android if enabled
#rnx
#rb trivial
#preflight 631fc01a1d7d879454482893

[CL 21986597 by joe kirchoff in ue5-main branch]
2022-09-13 13:17:24 -04:00
josh adams
6ba6e383d9 - Fix xcode 14 for mac that needs a plist generated for it
#rb adam.king,zack.neyland
#jira UE-156920
#preflight 631fb26a551a6a2554c16e2a

[CL 21986553 by josh adams in ue5-main branch]
2022-09-13 13:16:01 -04:00
bryan sefcik
f402b6abb5 Fixed an issue where people using writable workspaces would compile everything without using unity files because of the change to merge .gen.cpp files with module .cpp files in unity files.
#jira
#preflight 631f967180642a7fa7851034

[CL 21985018 by bryan sefcik in ue5-main branch]
2022-09-13 12:23:39 -04:00
ValeryKomarov
94b49c660b PR #9546: Improvements to PVS-Studio. PVSToolChain handles 3 additional settings from the Settings.xml file. New settings are added into .cfg file that is used by PVS-Studio.exe. (Contributed by ValeryKomarov)
#jira UE-163056
#rnx
#rb none
#preflight 631f62013267bd833664f6aa

[CL 21974219 by ValeryKomarov in ue5-main branch]
2022-09-12 18:27:57 -04:00
josh adams
e41490b912 - Added a system to remap .ini section and key names. This will convert names on load, so saving out the section will use new names, and should not cause issues (we do not force update because the files are usually checked in, so we warn in logs and in the editor on start to tell folks to update).
- Deprecation warnings will show up in C# log, C++ log and in editor as a load warning
- Next changelist will use the system to make some replacements
#rb david.hibbits
#jira UE-130960
#preflight 631f3c4194758d0bf225bd95

[CL 21974033 by josh adams in ue5-main branch]
2022-09-12 18:15:29 -04:00
axel riffard
c64aa2de93 Catalina, iOS 14 removal
Metal 2.3 removed, Metal 3.0 added for Mac

#jira UE-163352
#rb adam.kinge bertrand.carre
#preflight 631ea7eb94758d0bf2008668

[CL 21960671 by axel riffard in ue5-main branch]
2022-09-11 23:47:08 -04:00
joe kirchoff
9d5e715748 UnrealBuildTool: Option to consider logical cores when running local builds
#jira UE-163438
#rnx
#rb none
#preflight 631baf2a304480f8f8bceac6

[CL 21930861 by joe kirchoff in ue5-main branch]
2022-09-09 19:16:18 -04:00