Skip to content

Commit 9403e24

Browse files
committed
build.cs warnings fix
1 parent 3099703 commit 9403e24

2 files changed

Lines changed: 4 additions & 10 deletions

File tree

‎Source/UnrealEnginePython/UnrealEnginePython.Build.cs‎

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ public void AddRuntimeDependenciesForCopying(ReadOnlyTargetRules Target)
101101
if(UseThirdPartyPython)
102102
{
103103
string PlatformString = Target.Platform.ToString();
104-
bool bVerboseBuild = false;
105104

106105
//Don't add android stuff so we use a manual method to enum a directory
107106
Tools.DotNETCommon.DirectoryReference BinDir = new Tools.DotNETCommon.DirectoryReference(Path.Combine(BinariesPath, PlatformString, "..."));
@@ -118,11 +117,6 @@ public void AddRuntimeDependenciesForCopying(ReadOnlyTargetRules Target)
118117
{
119118
RuntimeDependencies.Add(File.ToString());
120119
}
121-
/*else if (bVerboseBuild)
122-
{
123-
Log.TraceInformation("Not adding the following file as RuntimeDependency: ");
124-
Log.TraceInformation(File.ToString());
125-
}*/
126120
}
127121
}
128122

@@ -223,15 +217,15 @@ public UnrealEnginePython(TargetInfo Target)
223217

224218
PublicIncludePaths.AddRange(
225219
new string[] {
226-
"UnrealEnginePython/Public",
220+
Path.Combine(ModuleDirectory, "Public"),
227221
// ... add public include paths required here ...
228222
}
229223
);
230224

231225

232226
PrivateIncludePaths.AddRange(
233227
new string[] {
234-
"UnrealEnginePython/Private",
228+
Path.Combine(ModuleDirectory, "Private"),
235229
PythonHome,
236230
// ... add other private include paths required here ...
237231
}
@@ -416,7 +410,7 @@ public UnrealEnginePython(TargetInfo Target)
416410

417411
string APLName = "UnrealEnginePython_APL.xml";
418412
string RelAPLPath = Utils.MakePathRelativeTo(System.IO.Path.Combine(ModuleDirectory, APLName), Target.RelativeEnginePath);
419-
AdditionalPropertiesForReceipt.Add(new ReceiptProperty("AndroidPlugin", RelAPLPath));
413+
AdditionalPropertiesForReceipt.Add("AndroidPlugin", RelAPLPath);
420414
}
421415
#endif
422416
}

‎UnrealEnginePython.uplugin‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"FileVersion": 3,
33
"Version": 1,
4-
"VersionName": "1.8.0",
4+
"VersionName": "1.8.1",
55
"FriendlyName": "UnrealEnginePython",
66
"Description": "Embed a Python VM in your project",
77
"Category": "Scripting Languages",

0 commit comments

Comments
 (0)