From 559e3590674a9eb166615494580b5c02078f5137 Mon Sep 17 00:00:00 2001 From: HowToCompute Date: Wed, 24 Apr 2024 16:05:40 +1200 Subject: [PATCH] Add UE5.4 support, fix IWYU deprecation --- Socketer.uplugin | 6 +++--- Source/Socketer/Socketer.Build.cs | 5 +---- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/Socketer.uplugin b/Socketer.uplugin index e9b77c7..1a43395 100644 --- a/Socketer.uplugin +++ b/Socketer.uplugin @@ -1,13 +1,13 @@ { "FileVersion": 3, "Version": 1, - "VersionName": "0.4", + "VersionName": "0.5", "FriendlyName": "Socketer", "Description": "An FSocket wrapper library for Blueprints. WARNING: This is an almost direct mapping, and the sockets are unmanaged, so use caution.", "Category": "Networking", "CreatedBy": "HowToCompute", "CreatedByURL": "https://h2cstudios.com", - "EngineVersion": "5.0.0", + "EngineVersion": "5.4.0", "DocsURL": "https://forums.unrealengine.com/community/community-content-tools-and-tutorials/112836-socketer-free-tcp-socket-blueprint-plugin", "MarketplaceURL": "", "SupportURL": "https://forums.unrealengine.com/community/community-content-tools-and-tutorials/112836-socketer-free-tcp-socket-blueprint-plugin", @@ -23,4 +23,4 @@ "WhitelistPlatforms": [ "Win64" ] } ] -} \ No newline at end of file +} diff --git a/Source/Socketer/Socketer.Build.cs b/Source/Socketer/Socketer.Build.cs index 447c6fd..42b7432 100644 --- a/Source/Socketer/Socketer.Build.cs +++ b/Source/Socketer/Socketer.Build.cs @@ -21,11 +21,8 @@ public class Socketer : ModuleRules public Socketer(ReadOnlyTargetRules Target) : base(Target) { // Force IWYU to ensure the plugin will always be IWYU compliant - bEnforceIWYU = true; + IWYUSupport = IWYUSupport.Full; PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs; - - // UE4.21 requirement - PrivatePCHHeaderFile = "Public/Socketer.h"; PublicDependencyModuleNames.AddRange( new string[]