Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable Static Analysis for UE modules #246

Open
wants to merge 1 commit into
base: Houdini19.5-Unreal5.00
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Source/HoudiniEngine/HoudiniEngine.Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,10 @@ public HoudiniEngine( ReadOnlyTargetRules Target ) : base( Target )
PCHUsage = PCHUsageMode.NoSharedPCHs;
PrivatePCHHeaderFile = "Private/HoudiniEnginePrivatePCH.h";

#if UE_5_2_OR_LATER
bDisableStaticAnalysis = true;
#endif

// Check if we are compiling on unsupported platforms.
if ( Target.Platform != UnrealTargetPlatform.Win64 &&
Target.Platform != UnrealTargetPlatform.Mac &&
Expand Down
4 changes: 4 additions & 0 deletions Source/HoudiniEngineEditor/HoudiniEngineEditor.Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ public HoudiniEngineEditor( ReadOnlyTargetRules Target ) : base( Target )
PCHUsage = PCHUsageMode.NoSharedPCHs;
PrivatePCHHeaderFile = "Private/HoudiniEngineEditorPrivatePCH.h";

#if UE_5_2_OR_LATER
bDisableStaticAnalysis = true;
#endif

// Check if we are compiling on unsupported platforms.
if ( Target.Platform != UnrealTargetPlatform.Win64 &&
Target.Platform != UnrealTargetPlatform.Mac &&
Expand Down
4 changes: 4 additions & 0 deletions Source/HoudiniEngineRuntime/HoudiniEngineRuntime.Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ public HoudiniEngineRuntime( ReadOnlyTargetRules Target ) : base( Target )
PrivatePCHHeaderFile = "Private/HoudiniEngineRuntimePrivatePCH.h";
PrecompileForTargets = PrecompileTargetsType.Any;

#if UE_5_2_OR_LATER
bDisableStaticAnalysis = true;
#endif

// Check if we are compiling for unsupported platforms.
if ( Target.Platform != UnrealTargetPlatform.Win64 &&
Target.Platform != UnrealTargetPlatform.Mac &&
Expand Down