-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding missing unreal plugin files. (wip)
- Loading branch information
1 parent
6c99afa
commit e10364b
Showing
8 changed files
with
117 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+1.32 MB
...AndWrapers/newtonUnreal/newton/Binaries/ThirdParty/newtonLibrary/Win64/ExampleLibrary.dll
Binary file not shown.
Binary file added
BIN
+442 KB
...AndWrapers/newtonUnreal/newton/Binaries/ThirdParty/newtonLibrary/Win64/ExampleLibrary.lib
Binary file not shown.
Binary file added
BIN
+10.5 MB
...AndWrapers/newtonUnreal/newton/Binaries/ThirdParty/newtonLibrary/Win64/ExampleLibrary.pdb
Binary file not shown.
Binary file added
BIN
+502 KB
...0/applications/toolsAndWrapers/newtonUnreal/newton/Binaries/Win64/UnrealEditor-newton.dll
Binary file not shown.
Binary file added
BIN
+59.3 MB
...0/applications/toolsAndWrapers/newtonUnreal/newton/Binaries/Win64/UnrealEditor-newton.pdb
Binary file not shown.
37 changes: 37 additions & 0 deletions
37
...oolsAndWrapers/newtonUnreal/newton/Source/ThirdParty/newtonLibrary/newtonLibrary.Build.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
// Fill out your copyright notice in the Description page of Project Settings. | ||
|
||
using System.IO; | ||
using UnrealBuildTool; | ||
|
||
public class newtonLibrary : ModuleRules | ||
{ | ||
public newtonLibrary(ReadOnlyTargetRules Target) : base(Target) | ||
{ | ||
Type = ModuleType.External; | ||
PublicSystemIncludePaths.Add("$(ModuleDir)/Public"); | ||
|
||
if (Target.Platform == UnrealTargetPlatform.Win64) | ||
{ | ||
// Add the import library | ||
PublicAdditionalLibraries.Add(Path.Combine(ModuleDirectory, "x64", "Release", "ExampleLibrary.lib")); | ||
|
||
// Delay-load the DLL, so we can load it from the right place first | ||
PublicDelayLoadDLLs.Add("ExampleLibrary.dll"); | ||
|
||
// Ensure that the DLL is staged along with the executable | ||
RuntimeDependencies.Add("$(PluginDir)/Binaries/ThirdParty/newtonLibrary/Win64/ExampleLibrary.dll"); | ||
} | ||
else if (Target.Platform == UnrealTargetPlatform.Mac) | ||
{ | ||
PublicDelayLoadDLLs.Add(Path.Combine(ModuleDirectory, "Mac", "Release", "libExampleLibrary.dylib")); | ||
RuntimeDependencies.Add("$(PluginDir)/Source/ThirdParty/newtonLibrary/Mac/Release/libExampleLibrary.dylib"); | ||
} | ||
else if (Target.Platform == UnrealTargetPlatform.Linux) | ||
{ | ||
string ExampleSoPath = Path.Combine("$(PluginDir)", "Binaries", "ThirdParty", "newtonLibrary", "Linux", "x86_64-unknown-linux-gnu", "libExampleLibrary.so"); | ||
PublicAdditionalLibraries.Add(ExampleSoPath); | ||
PublicDelayLoadDLLs.Add(ExampleSoPath); | ||
RuntimeDependencies.Add(ExampleSoPath); | ||
} | ||
} | ||
} |
75 changes: 75 additions & 0 deletions
75
newton-4.00/applications/toolsAndWrapers/newtonUnreal/newton/Source/newton/newton.Build.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
// Copyright Epic Games, Inc. All Rights Reserved. | ||
|
||
using UnrealBuildTool; | ||
|
||
public class newton : ModuleRules | ||
{ | ||
public newton(ReadOnlyTargetRules Target) : base(Target) | ||
{ | ||
PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs; | ||
|
||
PrivateDefinitions.Add("_D_CORE_DLL"); | ||
PrivateDefinitions.Add("_D_NEWTON_DLL"); | ||
PrivateDefinitions.Add("_D_COLLISION_DLL"); | ||
|
||
PublicIncludePaths.AddRange( | ||
new string[] { | ||
// ... add public include paths required here ... | ||
} | ||
); | ||
|
||
|
||
PrivateIncludePaths.AddRange( | ||
new string[] { | ||
// ... add other private include paths required here ... | ||
"ThirdParty/newtonLibrary/Public/dCore/", | ||
"ThirdParty/newtonLibrary/Public/dNewton/", | ||
"ThirdParty/newtonLibrary/Public/dCollision/", | ||
"ThirdParty/newtonLibrary/Public/thirdParty/", | ||
"ThirdParty/newtonLibrary/Public/dNewton/dJoints/", | ||
"ThirdParty/newtonLibrary/Public/dNewton/dModels/", | ||
"ThirdParty/newtonLibrary/Public/dNewton/dIkSolver/", | ||
"ThirdParty/newtonLibrary/Public/dNewton/dModels/dVehicle/" | ||
} | ||
); | ||
|
||
|
||
PublicDependencyModuleNames.AddRange( | ||
new string[] | ||
{ | ||
"Core", | ||
"Slate", | ||
"Engine", | ||
"UnrealEd", | ||
"Projects", | ||
"SlateCore", | ||
"ToolMenus", | ||
"Landscape", | ||
"CoreUObject", | ||
"PhysicsCore", | ||
"GeometryCore", | ||
"EditorFramework", | ||
"GeometryFramework", | ||
|
||
// ... add other public dependencies that you statically link with here ... | ||
"newtonLibrary" | ||
} | ||
); | ||
|
||
|
||
PrivateDependencyModuleNames.AddRange( | ||
new string[] | ||
{ | ||
// ... add private dependencies that you statically link with here ... | ||
} | ||
); | ||
|
||
|
||
DynamicallyLoadedModuleNames.AddRange( | ||
new string[] | ||
{ | ||
// ... add any modules that your module loads dynamically here ... | ||
} | ||
); | ||
} | ||
} |