-
Notifications
You must be signed in to change notification settings - Fork 105
Expand file tree
/
Copy pathlauncher.lua
More file actions
51 lines (48 loc) · 1.02 KB
/
launcher.lua
File metadata and controls
51 lines (48 loc) · 1.02 KB
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
local lm = require "luamake"
require "compile.common.frida"
lm:source_set "launcher_hook_luajit" {
includes = {
"3rd/lua/luajit/src",
"3rd/frida_gum/gumpp",
"src/launcher"
},
sources = "src/launcher/hook/luajit_listener.cpp",
}
lm:lua_source 'launcher_source' {
deps = {
"frida",
"launcher_hook_luajit",
},
includes = {
"3rd/bee.lua",
"3rd/frida_gum/gumpp",
"3rd/lua/lua54",
"3rd/json/single_include",
"src/launcher",
},
sources = {
"src/launcher/**/*.cpp",
"!src/launcher/hook/luajit_listener.cpp",
},
defines = {
"BEE_INLINE",
},
windows = {
defines = "_CRT_SECURE_NO_WARNINGS",
links = {
"ws2_32",
"user32",
"shell32",
"ole32",
"delayimp",
"ntdll",
"Version"
},
ldflags = {
"/NODEFAULTLIB:LIBCMT"
}
},
linux = {
flags = "-fPIC",
}
}