Skip to content

Commit

Permalink
fix compiling proper editor binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
microdee committed Aug 22, 2023
1 parent 3438cdd commit f8bec03
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 30 deletions.
2 changes: 1 addition & 1 deletion Source/HIDUE
Submodule HIDUE updated 1 files
+1 −2 HIDUE.Build.cs
3 changes: 1 addition & 2 deletions Source/SpaceMouseEditor/SpaceMouseEditor.Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ public SpaceMouseEditor(ReadOnlyTargetRules Target) : base(Target)
bEnableUndefinedIdentifierWarnings = false;
CppStandard = CppStandardVersion.Cpp17;

IsRedistributableOverride = true;
IsRedistributableOverride = true;;
bLegalToDistributeObjectCode = true;
bPrecompile = true;
bUsePrecompiled = true;
PrecompileForTargets = PrecompileTargetsType.Any;

PublicDependencyModuleNames.AddRange(new []
Expand Down
23 changes: 11 additions & 12 deletions Source/SpaceMouseReader/SpaceMouseReader.Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,26 @@

public class SpaceMouseReader : ModuleRules
{
public SpaceMouseReader(ReadOnlyTargetRules Target) : base(Target)
{
public SpaceMouseReader(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = PCHUsageMode.NoPCHs;
bEnableUndefinedIdentifierWarnings = false;
CppStandard = CppStandardVersion.Cpp17;
CppStandard = CppStandardVersion.Cpp17;

IsRedistributableOverride = true;
bLegalToDistributeObjectCode = true;
bPrecompile = true;
bUsePrecompiled = true;
PrecompileForTargets = PrecompileTargetsType.Any;
PublicDependencyModuleNames.AddRange(new []
{
PublicDependencyModuleNames.AddRange(new []
{
"Core",
"CoreUObject",
"Engine",

"HIDUE"
// ... add other public dependencies that you statically link with here ...
});
}
"HIDUE"
// ... add other public dependencies that you statically link with here ...
});
}
}
3 changes: 1 addition & 2 deletions Source/SpaceMouseRuntime/SpaceMouseRuntime.Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ public SpaceMouseRuntime(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = PCHUsageMode.NoPCHs;
bEnableUndefinedIdentifierWarnings = false;
CppStandard = CppStandardVersion.Cpp17;
CppStandard = CppStandardVersion.Cpp17;

IsRedistributableOverride = true;
bLegalToDistributeObjectCode = true;
bPrecompile = true;
bUsePrecompiled = true;
PrecompileForTargets = PrecompileTargetsType.Any;

if (Target.Version.MajorVersion >= 5)
Expand Down
13 changes: 0 additions & 13 deletions SpaceMouse.uplugin
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"FileVersion": 3,
"Version": 1,
"VersionName": "1.2.7",
"EngineVersion": "5.2",
"FriendlyName": "SpaceMouse for Unreal Engine",
"Description": "Control the active editor viewport camera with 3DConnexion SpaceMice",
"Category": "Input Devices",
Expand Down Expand Up @@ -30,10 +29,6 @@
"Name": "SpaceMouseReader",
"Type": "Runtime",
"LoadingPhase": "PreDefault",
"AdditionalDependencies": [
"Core",
"HIDUE"
],
"WhitelistPlatforms": [
"Linux",
"Win64"
Expand All @@ -43,10 +38,6 @@
"Name": "SpaceMouseRuntime",
"Type": "Runtime",
"LoadingPhase": "Default",
"AdditionalDependencies": [
"Core",
"SpaceMouseReader"
],
"WhitelistPlatforms": [
"Linux",
"Win64"
Expand All @@ -56,10 +47,6 @@
"Name": "SpaceMouseEditor",
"Type": "Editor",
"LoadingPhase": "PostEngineInit",
"AdditionalDependencies": [
"Core",
"SpaceMouseReader"
],
"WhitelistPlatforms": [
"Linux",
"Win64"
Expand Down

0 comments on commit f8bec03

Please sign in to comment.