Commit Graph

1369 Commits

Author SHA1 Message Date
bryan sefcik
ac642e3ace Updated to disable XGE and SNDBS when profiling.
Added a flag that turns off module unity size overrides.

#jira
[FYI] joe.kirchoff
#preflight 637673ccaf52be152449722a

[CL 23182588 by bryan sefcik in ue5-main branch]
2022-11-17 15:29:33 -05:00
brandon schaefer
4f85084928 [UBT] Add options to enable pie and stack protector for target rules
disabled by default

#rb Josh.Adams, Zack.Neyland
#preflight 637526e4ee4d25f90aa62e6c

[CL 23163701 by brandon schaefer in ue5-main branch]
2022-11-16 17:02:54 -05:00
Rafa Lecina
df001c1d21 Support enable ARC in modules
#jira UE-107891
#review @Sam.Zamani @Bertrand.Carre @Chris.Varnsverry @Roman.Dzieciol @Josh.Adams  @Jack.Porter
#preflight

[CL 23133821 by Rafa Lecina in ue5-main branch]
2022-11-15 06:02:36 -05:00
Rafa Lecina
4e08b2ba53 Add support for XCFramework to UBT on iOS
#jira UE-168983
#review-23009903 @Sam.Zamani @Bertrand.Carre @Chris.Varnsverry @Roman.Dzieciol @Josh.Adams @Jack.Porter
#preflight

[CL 23133403 by Rafa Lecina in ue5-main branch]
2022-11-15 04:20:41 -05:00
bryan sefcik
d464a46b31 Reorganized the unity logic to take into account the generated cpp files when determining whether to use unity files. Previously the logic wouldn't take into account the number of generated files which meant that modules that had just generated cpp files wouldn't use unity files.
Before:
Unity Files: 6759
Total CPU Time: 77035.734375 s
Total time in Parallel executor: 2062.95 seconds

After:
Unity Files: 6656
Total CPU Time: 76182.40625 s
Total time in Parallel executor: 2047.47 seconds

#jira
[FYI] joe.kirchoff
#preflight 637273a1ee4d25f90acc3712

[CL 23123139 by bryan sefcik in ue5-main branch]
2022-11-14 14:15:09 -05:00
Wojciech Krywult
5b7ef50b76 UBT: Edit and Continue: Unified the property names used to enable edit and continue.
On some platforms we used bUseLiveCodeEdit, which was expected to be present in the per-platform configuration block. At the same time, on Windows we rely on bSupportEditAndContinue from BuildConfiguration.

Modified the console platforms to use BuildConfiguration.bSupportEditAndContinue for consistency. However, there is some value in being able to control this setting per-platform, so I've left the existing properties and just renamed them bUseLiveCodeEdit -> bSupportEditAndContinue.

As a result, all platforms that support Edit and Continue are affected by BuildConfiguration.bSupportEditAndContinue. However, if XXPlatform.bSupportEditAndContinue is presetnt, it overrides the global.

Removed ClangToolChainOptions.EnableLiveCodeEditing and related code as it turns out it wasn't really used.

#preflight 637274a99e3bea8079f98af5
#rb Joe.Kirchoff

[CL 23120407 by Wojciech Krywult in ue5-main branch]
2022-11-14 12:15:28 -05:00
chris constantinescu
7859a6cdb4 Catch2 feature introduced: test groups and group events at global, group and test group before/after levels
#preflight 636ab505450be1d9f83e90e4
#rb Jerome.Delattre

[CL 23039159 by chris constantinescu in ue5-main branch]
2022-11-08 16:02:46 -05:00
joe kirchoff
3576fbf55c UnrealBuildTool: Throw an error if multiple modules are loaded that have conflicting ShortNames. Suggestion from UDN
#rnx
#rb Josh.Adams
#preflight 636aa1a27c2b505190b32b8f

[CL 23039139 by joe kirchoff in ue5-main branch]
2022-11-08 16:02:20 -05:00
chris varnsverry
093f221033 - Remove WITH_SERVER_CODE_TRUSTED concept from Engine
[REVIEW] [at]Rob.Cannaday [at]Michael.Atchison [at]Sam.Zamani

[CL 22959144 by chris varnsverry in ue5-main branch]
2022-11-03 14:23:35 -04:00
chris constantinescu
fe1ac0c01a Check for File nullable when tagging test builds
#rnx
#preflight skip

[CL 22922948 by chris constantinescu in ue5-main branch]
2022-11-02 14:43:21 -04:00
chris constantinescu
d20ee9868d Fix postbuild action for win64 low level tests: correct path to build binary
#preflight skip
#rnx

[CL 22886184 by chris constantinescu in ue5-main branch]
2022-11-01 13:34:40 -04:00
joe kirchoff
900599bf9d UnrealBuildTool: Use BuildSettings.Latest as defaults, so changing the latest version will also update these variables. Latest is still set to V2.
#rnx
#rb trivial

[CL 22876166 by joe kirchoff in ue5-main branch]
2022-10-31 20:57:12 -04:00
Ryan Gerleve
49469d4fc9 Re-enable Iris compilation by default. Remains disabled at runtime.
Fix static analysis & nonunity issues.

#jira UE-166990
#rb peter.engstrom
#preflight 635fe67d1b41d36d481e669d

[CL 22864286 by Ryan Gerleve in ue5-main branch]
2022-10-31 11:39:40 -04:00
Robert Millar
d1ae213d52 Server mode for UBT for use by VS Code extension. Provides compile configuration on demand, responding to commands over stdin in json format.
VS Code project file generator argument to skip compile commands json files.
VS Code project file generator adds VS Code extension id as configuration provider to configurations.
Add optional implementable funcion for toolchains to return the path to default C++ compiler.
Add rootdirectory= argument to provide root directory if UBT is published to a different directory than standard.

#jira none
#preflight 635c08e6052cb0bae6a5371a

[CL 22831178 by Robert Millar in ue5-main branch]
2022-10-28 12:59:39 -04:00
chris varnsverry
6bc8df0ee7 - Remove WITH_SERVER_CODE_UNTRUSTED define to avoid confusion
[REVIEW] [at]Rob.Cannaday [at]Sam.Zamani

[CL 22802891 by chris varnsverry in ue5-main branch]
2022-10-26 22:21:03 -04:00
joe kirchoff
4bd342fb6c UnrealBuildTool: BuildSetting.V3 (currently disabled) which disallows adding module parent directory to include path list
#rnx
#rb bryan.sefcik
#preflight 634df3105f008d633fd571d2

[CL 22798627 by joe kirchoff in ue5-main branch]
2022-10-26 19:13:07 -04:00
joe kirchoff
20c19d6503 [Backout] - CL22754728
[FYI] Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealHeaderTool: BuildSetting.V3 (currently disabled) which disallows adding module parent directory to include path list

#rnx
#rb bryan.sefcik
#preflight 634df3105f008d633fd571d2

[CL 22795918 by joe kirchoff in ue5-main branch]
2022-10-26 18:18:06 -04:00
joe kirchoff
6e28fec987 UnrealHeaderTool: BuildSetting.V3 (currently disabled) which disallows adding module parent directory to include path list
#rnx
#rb bryan.sefcik
#preflight 634df3105f008d633fd571d2

[CL 22793005 by joe kirchoff in ue5-main branch]
2022-10-26 17:30:50 -04:00
benn gallagher
8be43e1076 Enable physics macro deprecation in all modules for non-engine modules that relied on inheriting from dependencies on engine modules.
#jira UE-167375
#preflight 6351922d3d41a4455a3edda3
#rb Chris.Caulfield
#lockdown michael.lentine

[CL 22786966 by benn gallagher in ue5-main branch]
2022-10-26 15:27:30 -04:00
henrik karlsson
19a8eac8c1 [UBT]
* Fixed bug where name collision happened if both VNI and UHT files were created for same file

Fixes VerseExample UBT exception

#rb none
#preflight none

[CL 22783396 by henrik karlsson in ue5-main branch]
2022-10-26 13:07:08 -04:00
Ryan Gerleve
bc9d566c29 Disable Iris compilation while we fix static analysis warnings.
#jira none
#rb none
#preflight 635839abb870e03e6abfc39c

[CL 22759680 by Ryan Gerleve in ue5-main branch]
2022-10-25 15:54:02 -04:00
Ryan Gerleve
244de1bc8c Enable Iris compilation by default. Remains disabled at runtime.
#jira UE-166990
#preflight 6356e43df92c325024fad9fc
#rb peter.engstrom, mattias.hornlund

[CL 22750421 by Ryan Gerleve in ue5-main branch]
2022-10-25 10:21:42 -04:00
joe pribele
7938bdda07 [LowLevelTestRunner] added custom reporter to make parsing of xml easier for UnrealVS TestAdapter
#rb devin.doucette
#preflight 635312f3777a77c4407b2733

[CL 22702551 by joe pribele in ue5-main branch]
2022-10-21 18:00:09 -04:00
bryan sefcik
a86a03522d Added a bool setting to allow us to turn off the forcing of PCH files for gen.cpp files when PCH is disabled. This improves NoPCH/DisableUnity compile times.
#jira
#preflight 63518daf3d41a4455a3de844

[CL 22677159 by bryan sefcik in ue5-main branch]
2022-10-20 20:09:31 -04:00
henrik karlsson
a72cec4bbc [UnrealBuildTool]
* Added support for forcing module to use inlined .gen.cpp files

#rb joe.kirchoff
#preflight skipped

[CL 22673962 by henrik karlsson in ue5-main branch]
2022-10-20 17:53:32 -04:00