forked from teknogods/OpenParrot
-
Notifications
You must be signed in to change notification settings - Fork 6
/
premake5.lua
76 lines (55 loc) · 1.21 KB
/
premake5.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
workspace "OpenParrot"
configurations { "Debug", "Release"}
platforms { "x64", "x86" }
flags { "No64BitChecks" }
staticruntime "On"
editandcontinue "Off"
systemversion "latest"
symbols "On"
characterset "Unicode"
flags { "NoIncrementalLink", "NoMinimalRebuild" }
includedirs { "deps/inc/", "deps/udis86/" }
libdirs { "deps/lib/" }
buildoptions { "/MP", "/std:c++17" }
configuration "Debug*"
targetdir "build/bin/debug"
defines "NDEBUG"
objdir "build/obj/debug"
configuration "Release*"
targetdir "build/bin/release"
defines "NDEBUG"
optimize "speed"
objdir "build/obj/release"
filter "platforms:x86"
architecture "x32"
filter "platforms:x64"
architecture "x64"
project "MinHook"
targetname "MinHook"
language "C"
kind "StaticLib"
files
{
"deps/src/buffer.c", "deps/src/hook.c",
"deps/src/trampoline.c",
}
filter "platforms:x86"
files { "deps/src/hde/hde32.c" }
filter "platforms:x64"
files { "deps/src/hde/hde64.c" }
project "udis86"
targetname "udis86"
language "C"
kind "StaticLib"
includedirs
{
"deps/udis86/"
}
files
{
"deps/udis86/libudis86/*.c"
}
include "OpenParrot"
include "OpenParrotLoader"
include "OpenParrotKonamiLoader"
include "iDmacDrv"