mirror of
https://github.com/diamante0018/MW3ServerFreezer.git
synced 2025-06-29 15:51:52 +00:00
Add files
This commit is contained in:
32
deps/premake/minhook.lua
vendored
Normal file
32
deps/premake/minhook.lua
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
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)
|
Reference in New Issue
Block a user