Commit Graph

281 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
joe kirchoff
7ec6d6154f FixIncludePaths: Add -IncludeFilter to limit the #includes that are modified
Add progress printing
Disallow relative parent directory pathing, currently breaks some #includes

#rnx
#rb Bryan.Sefcik
#preflight none

[CL 23129418 by joe kirchoff in ue5-main branch]
2022-11-14 18:26:52 -05:00
Wojciech Krywult
c33e67d6dc UBT: Added a log message confirming that a .json file with build actions has been created when using -WriteOutdatedActions command-line argument.
#preflight 63729c77b6636838287c5ec9
#rb none
#rnx

[CL 23124452 by Wojciech Krywult in ue5-main branch]
2022-11-14 15:45:31 -05:00
bryan sefcik
4d44e233d7 Added a mode that profiles different unity sizes and returns the best size for each module.
#jira
[FYI] joe.kirchoff

[CL 23123092 by bryan sefcik in ue5-main branch]
2022-11-14 14:14:05 -05:00
robert millar
2e4dda24f8 Fixing UnrealBuildTool deprecation warnings.
#preflight 63633cc4af536047f4148aeb

[CL 23049856 by robert millar in ue5-main branch]
2022-11-09 04:11:36 -05:00
robert millar
7be86d2033 [Backout] - CL23048035
[FYI] Robert.Millar
Original CL Desc
-----------------------------------------------------------------
Fixing UnrealBuildTool deprecation warnings.

Cherry pick from UE5-main

#preflight 63633cc4af536047f4148aeb

[CL 23049852 by robert millar in ue5-main branch]
2022-11-09 04:11:31 -05:00
Robert Millar
54164a01f3 Fix bailing on target setup when the same path is included in multiple modules.
#rb none
#jira none
#preflight 6369836263037c1026ffbaca

[CL 23019443 by Robert Millar in ue5-main branch]
2022-11-07 17:22:50 -05:00
Tim Smith
3b4b38965d Removed diagnostic code that was launching the debugger
#rb self
#jira none
#preflight none

[CL 22951291 by Tim Smith in ue5-main branch]
2022-11-03 08:38:06 -04:00
christopher waters
5f9c8f4788 Fixing UnrealBuildTool deprecation warnings.
#jira none
#preflight 63633cc4af536047f4148aeb

[CL 22940692 by christopher waters in ue5-main branch]
2022-11-03 00:26:09 -04:00
joe kirchoff
144ce56048 UnrealBuildTool: Move some util properties to EpicGames.Build
#rnx
#rb trivial
#preflight 6362e8e86000216d2e2b4bdd

[CL 22937953 by joe kirchoff in ue5-main branch]
2022-11-02 23:07:24 -04:00
Robert Millar
5e7feec631 Add missing copyright.
#rb none
#jira none
#preflight trivial

[CL 22831423 by Robert Millar in ue5-main branch]
2022-10-28 13:12:25 -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
bryan sefcik
c9bdbbbb72 Add support for sorting system includes.
#preflight none

[CL 22794063 by bryan sefcik in ue5-main branch]
2022-10-26 17:48:47 -04:00
bryan sefcik
1d7cfa6b57 Updated the output to allow you to quickly jump to the file in VS's output window.
Updated the logic to support modules that don't use private/public folders.

#jira
#preflight 6351873fcb31f106ce881396

[CL 22670442 by bryan sefcik in ue5-main branch]
2022-10-20 16:41:47 -04:00
bryan sefcik
87c76b0576 Removed "-Compiler=Clang" because we found we got better results from the clang tools when they did the msvc to clang conversion for windows than UBT.
#jira

[CL 22647481 by bryan sefcik in ue5-main branch]
2022-10-19 22:01:14 -04:00
bryan sefcik
c6b0642d11 Updated GenerateClangDatabase to update more relative paths to be absolute.
#jira

[CL 22647467 by bryan sefcik in ue5-main branch]
2022-10-19 22:01:04 -04:00
bryan sefcik
85dd8f50f1 Updated FixIncludePathsMode to support thirdparty directories and use the shortened include paths if possible.
#jira

[CL 22647453 by bryan sefcik in ue5-main branch]
2022-10-19 22:00:55 -04:00
bryan sefcik
40591cbff0 Fixes to get IWYU working/compiling on windows.
#jira
#rb devin.doucette
#preflight 634f228ca1527f6b3beefea2

[CL 22633095 by bryan sefcik in ue5-main branch]
2022-10-19 14:35:34 -04:00
bryan sefcik
f75a35a789 Minor cleanup.
#jira

[CL 22594256 by bryan sefcik in ue5-main branch]
2022-10-18 01:22:50 -04:00
bryan sefcik
502960e856 Updated the FixIncludePathsMode to sort the includes after updating them.
#jira

[CL 22594253 by bryan sefcik in ue5-main branch]
2022-10-18 01:22:38 -04:00
bryan sefcik
a2a2187b4f Added a script that updates include paths.
#jira
#joe.kirchoff

[CL 22547823 by bryan sefcik in ue5-main branch]
2022-10-15 02:12:12 -04:00
bryan sefcik
b8b3d5f6aa Simple script to inline the generated types.
#jira
[FYI] joe.kirchoff

[CL 22547751 by bryan sefcik in ue5-main branch]
2022-10-15 02:09:54 -04:00
bryan sefcik
6245f9d961 Minor optimizations in UBT to improve time when creating the action graph.
#jira
#preflight 6335f77e2f447ea8dc26f758

[CL 22264273 by bryan sefcik in ue5-main branch]
2022-09-30 01:41:38 -04:00
joe kirchoff
abdd5ac8ca UnrealBuildTool: Don't throw entire action graph as an exception when there is a cycle
#rnx
#rb trivial
#preflight 63349be6ce6dba45926fb2d5

[CL 22240106 by joe kirchoff in ue5-main branch]
2022-09-28 22:11:23 -04:00
Zousar Shaker
6540112e2f Allow an Epic-only configuration on UnrealHeaderTool that enforces TObjectPtr usage in Engine Plugins specifically. Cannot be used externally due to the occurrance of third party plugins being placed in the engine plugins directory. Tested against C++ UHT and C# UHT both with and without the Epic-only configuration file present.
#rb tim.smith
#preflight 6334666b0169596cdf0cc710

[CL 22225475 by Zousar Shaker in ue5-main branch]
2022-09-28 12:58:24 -04:00