mirror of
https://github.com/XLabsProject/s1x-client.git
synced 2023-08-02 15:02:12 +02:00
32 lines
492 B
Lua
32 lines
492 B
Lua
minhook = {
|
|
source = path.join(dependencies.basePath, "minhook"),
|
|
}
|
|
|
|
function minhook.import()
|
|
links { "minhook" }
|
|
minhook.includes()
|
|
end
|
|
|
|
function minhook.includes()
|
|
includedirs {
|
|
path.join(minhook.source, "include")
|
|
}
|
|
end
|
|
|
|
function minhook.project()
|
|
project "minhook"
|
|
language "C"
|
|
|
|
minhook.includes()
|
|
|
|
files {
|
|
path.join(minhook.source, "src/**.h"),
|
|
path.join(minhook.source, "src/**.c"),
|
|
}
|
|
|
|
warnings "Off"
|
|
kind "StaticLib"
|
|
end
|
|
|
|
table.insert(dependencies, minhook)
|