-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
42f87cb
commit f0936c7
Showing
3 changed files
with
10 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,24 +51,26 @@ public SML(ReadOnlyTargetRules Target) : base(Target) | |
if (Target.Platform == UnrealTargetPlatform.Win64) | ||
{ | ||
// https://github.com/kubo/funchook/tree/7cb8819594f0d586454011ab691fab4edb625068 | ||
// Built using Visual Studio project generated by cmake | ||
// funchook will additionally build distorm, which is added to the Visual Studio project | ||
// as a dependency, along with psapi, so that they don't need to be included here separately | ||
PublicAdditionalLibraries.Add(Path.Combine(LibraryFolder, "funchook.lib")); | ||
|
||
// https://github.com/satisfactorymodding/AssemblyAnalyzer/tree/e08ec4402b6e016a9b7aa59ab8c82dd0840e8f98 | ||
PublicAdditionalLibraries.Add(Path.Combine(LibraryFolder, "AssemblyAnalyzer.lib")); | ||
PublicAdditionalLibraries.Add(Path.Combine(LibraryFolder, "Zydis.lib")); | ||
PublicAdditionalLibraries.Add(Path.Combine(LibraryFolder, "Zycore.lib")); | ||
} else if (Target.Platform == UnrealTargetPlatform.Linux) { | ||
// [email protected]:kubo/funchook.git | ||
// cmake <toolchain> -DFUNCHOOK_DISASM=zydis | ||
// funchook will download and build Zydis as a dependency. Copy those static libs in along | ||
// with funchook. | ||
// https://github.com/kubo/funchook/tree/7cb8819594f0d586454011ab691fab4edb625068 | ||
// Built on windows using the Unreal Engine cross-compile clang toolchain | ||
PublicAdditionalLibraries.Add(Path.Combine(LibraryFolder, "libfunchook.a")); | ||
PublicAdditionalLibraries.Add(Path.Combine(LibraryFolder, "libZydis.a")); | ||
PublicAdditionalLibraries.Add(Path.Combine(LibraryFolder, "libZycore.a")); | ||
// funchook will additionally build distorm | ||
PublicAdditionalLibraries.Add(Path.Combine(LibraryFolder, "libdistorm.a")); | ||
|
||
// https://github.com/satisfactorymodding/AssemblyAnalyzer | ||
// Used for SetDebugLoggingHook and DiscoverFunction | ||
// https://github.com/satisfactorymodding/AssemblyAnalyzer/tree/e08ec4402b6e016a9b7aa59ab8c82dd0840e8f98 | ||
PublicAdditionalLibraries.Add(Path.Combine(LibraryFolder, "libAssemblyAnalyzer.a")); | ||
PublicAdditionalLibraries.Add(Path.Combine(LibraryFolder, "libZydis.a")); | ||
PublicAdditionalLibraries.Add(Path.Combine(LibraryFolder, "libZycore.a")); | ||
} | ||
|
||
AddFactoryGameInfo(); | ||
|
Binary file not shown.
Binary file not shown.