Commit Graph

275 Commits

Author SHA1 Message Date
Joe Kirchoff
371c0b0624 UnrealBuildTool: Move static analysis checker options into ModuleRules rather than TargetRules
#rnx
#rb none
#preflight 62f6e75de67510be05db43f9

[CL 21368307 by Joe Kirchoff in ue5-main branch]
2022-08-12 20:06:00 -04:00
kaffeewolf
a3acfba5d6 PR #9449: Add support for specifying C Standard when compiling plain C files (Contributed by kaffeewolf)
#rb none
#preflight 62f2f8c33f500fb6dc059f18

[CL 21305284 by kaffeewolf in ue5-main branch]
2022-08-09 20:34:50 -04:00
Joe Kirchoff
517316e77a UnrealBuildTool: Add TargetRules properties to control which clang checkers are enabled. Reconcile msvc cl-clang analyze with clang analyze
#rnx
#rb none
#preflight 62d75b5e185da2495fd66cf6

[CL 21170857 by Joe Kirchoff in ue5-main branch]
2022-07-19 21:52:16 -04:00
yoan stamant
e21d4d944f [GameplayDebugger] added dedicated Target rule for GameplayDebugger
- Default behavior is preserved (i.e. Target.bBuildDeveloperTools || (Target.Configuration != UnrealTargetConfiguration.Shipping && Target.Configuration != UnrealTargetConfiguration.Test))
- Added SetupGameplayDebuggerSupport for ModuleRules that want to use GameplayDebugger. This will add required dependency and public definition (WITH_GAMEPLAY_DEBUGGER=0|1)
- Build Target can override by specifying a value to 'bUseGameplayDebugger'
#jira UE-159095
#rb mieszko.zielinski
#preflight 62d178143b057e72748ccbe3

#ROBOMERGE-OWNER: yoan.stamant
#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-SOURCE: CL 21113824 via CL 21113871 via CL 21114153
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21142398 by yoan stamant in ue5-main branch]
2022-07-17 22:41:36 -04:00
Joe Kirchoff
be3cc3c85d UnrealBuildTool: Add [RequiresUniqueBuildEnvironment] attribute to Target warning\error settings that affect command line options and will cause builds to be invalidated
#rnx
#rb Ben.Marsh
#preflight 62cf5597a4645cf7b0c8abc4

[CL 21085471 by Joe Kirchoff in ue5-main branch]
2022-07-13 19:56:30 -04:00
Peter Engstrom
4aae8d3ed0 Iris experimental replication system.
Initial submit, compiled out by default.

#rb Peter.Engstrom,Mattias.Hornlund,Brian.Bekich,Ryan.Gerleve,John.Barrett
#jira UE-158381
#preflight /62cd6fc7ad490b52da0515a3

[CL 21068370 by Peter Engstrom in ue5-main branch]
2022-07-13 03:11:55 -04:00
Joe Kirchoff
eba8c5974e UnrealBuildTool: -BytesPerUnityCPP command line arg to control unity size
#rnx
#rb trivial
#preflight 62c77ba7a6654f9729f063cc

[CL 20996446 by Joe Kirchoff in ue5-main branch]
2022-07-07 20:43:03 -04:00
Joe Kirchoff
d1c3e422f7 UnrealBuildTool: Support running static code analysis -StaticAnalyzer=Clang for clang toolchains.
Static code analysis automatically disables linking and pch. Dependency checking does not work as no output file is written.

#rnx
#rb none
#preflight 62c6012f3c5171c81719930d

[CL 20974504 by Joe Kirchoff in ue5-main branch]
2022-07-06 17:59:44 -04:00
Joe Kirchoff
f4ac91cbf0 UnrealBuildTool: Update Target.WindowsPlatform.StaticAnalyzer -> Target.bStaticAnalyzer so it can be shared with the Clang toolchains, marking the old properties and enums as obsolete
#rnx
#rb Ben.Marsh
#preflight 62c5db38b47aed4cf108e4ee

[CL 20971113 by Joe Kirchoff in ue5-main branch]
2022-07-06 15:06:26 -04:00
Joe Kirchoff
cb03528d80 UnrealBuildTool: Support preprocess depends for all clang not just Mac and Linux
#rnx
#rb none
#preflight 62c5b8bd3c5171c8170b79f8

[CL 20968771 by Joe Kirchoff in ue5-main branch]
2022-07-06 12:56:18 -04:00
bryan sefcik
1b2a0a8c56 * Combined generated cpp files and module cpp files into the same unity files.
ShooterGame Editor with 8 processes:
Before:
3706 compile tasks
1517.98 seconds

After:
3372 compile tasks
1428.56 seconds

Game Editor with 64 processes:
Before:
6323 compile tasks
1090.78 seconds

After:
5666 compile tasks
1063.90 seconds
#preflight 62b4820d1371af05d9f26407

[CL 20796589 by bryan sefcik in ue5-main branch]
2022-06-23 12:22:28 -04:00
Benn Gallagher
8757cb3641 Physics interface cleanup.
* Removed deprecated or dead code paths
* Simplified build system setup for physics support
* Deprecated build system flags and unsupported macros

#jira none
#rb Chris.Caulfield, Kriss.Gossart
#preflight 62963ec0fe779f23c8ea0c5e

[CL 20450744 by Benn Gallagher in ue5-main branch]
2022-06-01 06:59:18 -04:00
Joe Kirchoff
7112ec8a91 UnrealBuildTool: Ignore build outputs in manifest when doing a single file compile
#rnx
#rb trivial
#preflight 62914bd2064d4b79f85d729a

[CL 20400492 by Joe Kirchoff in ue5-main branch]
2022-05-27 18:26:12 -04:00
marc audy
014736a60e Undo default enabling of flag unintentionally introduced in CL# 20395952
#rnx

#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 20396957 in //UE5/Release-Engine-Staging/...
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20398886 by marc audy in ue5-main branch]
2022-05-27 16:53:32 -04:00
luke tannenbaum
9aea9d7913 Manual resolve of merge from cine-staging at 20378345
#ROBOMERGE-AUTHOR: luke.tannenbaum
#ROBOMERGE-SOURCE: CL 20395891 via CL 20395923 via CL 20395952 via CL 20395970
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20398773 by luke tannenbaum in ue5-main branch]
2022-05-27 16:51:48 -04:00
Ben Marsh
cf7582e557 UAT: Fix exception when creating dummy targets in UAT.
#preflight none

[CL 20374333 by Ben Marsh in ue5-main branch]
2022-05-25 20:48:43 -04:00
Ben Marsh
cbb950c578 UBT: Use ILogger throughout UBT, rather than legacy EpicGames.Core.Log methods. All output going forwards should use structured logging rather than String.Format style logging.
#preflight 628e9dc6e746de4961f60032

[CL 20373777 by Ben Marsh in ue5-main branch]
2022-05-25 19:55:37 -04:00
Ben Marsh
b1ca1ba693 UBT: Allow overriding the output path for executables.
This may not work with UE code, since the engine assumes the executable is in a certain location to figure out where other known folders are in relation to it, but is useful for programs that do not link against the engine.

#fyi Joe.Kirchoff
#preflight 6287867d8828ea88c84ee81d

[CL 20293094 by Ben Marsh in ue5-main branch]
2022-05-20 08:26:07 -04:00
chris constantinescu
72e744f75a Build in solution by default set to true for inheriting classes of TestTargetRules
#rb Chris.Caulfield
#preflight skip

[CL 20286954 by chris constantinescu in ue5-main branch]
2022-05-19 16:29:25 -04:00
David Harvey
7013ba72f9 Fix builds where the HoloLens platform isn't synced.
- temporarily disabled hololens native code analysis and architecture override

#jira UE-149794
#rnx
#rb none
#preflight 62839406ba3597a0308ce878

[CL 20241246 by David Harvey in ue5-main branch]
2022-05-17 08:32:25 -04:00
chris constantinescu
1278a26f76 Low level tests further refactoring and test resource deployment
#preflight 626955ed0d4ac78d716eacf0
#rnx

[CL 19941830 by chris constantinescu in ue5-main branch]
2022-04-27 12:36:35 -04:00
chris constantinescu
28111d40fc Redundancy cleanup in UBT Low Level Tests:
- test-specific targets and modules are constructed by RulesAssembly which removes a lot of spaghetti code
- no more excluding the Tests folder by default which is guaranteed to mislead users #fyi Jon.Nabozny
- test compilation in Tests is controlled through WITH_LOW_LEVEL_TESTS
- preparation code for switching tests between Catch2 / TestAutomation Fmwk

Nightly LLT PF 6260431391376845adeb4c40

#rnx
#preflight 62602d50dd47b4ad2173c30b

[CL 19834665 by chris constantinescu in ue5-main branch]
2022-04-20 14:24:59 -04:00
Devin Doucette
00c5ef381d UBT: Added VSTestRunSettingsFile to TargetRules
#preflight 624e09ca14634fba5c9563f6
#rb Jonathan.Adamczewski
#fyi Chris.Constantinescu

[CL 19661383 by Devin Doucette in ue5-main branch]
2022-04-06 20:50:46 -04:00
mickael gilabert
469a7e6fcb UBT: Add -CrashDiagnosticDirectory to set where to put crash report files (for platforms that support it)
[REVIEW] [at]jeff.newquist, [at]joe.kirchoff
#rnx

#ROBOMERGE-OWNER: mickael.gilabert
#ROBOMERGE-AUTHOR: mickael.gilabert
#ROBOMERGE-SOURCE: CL 19555896 via CL 19556567 via CL 19557148 via CL 19557163
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19561558 by mickael gilabert in ue5-main branch]
2022-03-30 14:42:23 -04:00
christopher waters
22de0b360d Adding a "deprecation" path for engine includes to allow types to be moved without breaking licensee module builds.
- Non-engine modules/targets will have to specify the "version" of includes via IncludeOrderVersion in TargetRules or ModuleRules.
- This setting will control the value of UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_XXX where XXX is the version of the engine.
- When moving types out of a header, users will need to include the new location of the type in the header it was removed from but only if UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_XXX is set.
- If a target does not change its IncludeOrderVersion to the latest version, UBT will print out a message telling users how to upgrade.
- This change introduces a new set of SharedPCH permutations to make sure modules with older versions get the PCH with UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_XXX set correctly.

#jira none
#rb jonathan.adamczewski, joe.kirchoff
#preflight 623e1d3d196f3ae80b4c37ee

[CL 19518359 by christopher waters in ue5-main branch]
2022-03-25 16:16:30 -04:00