iw4x-client/deps/premake/udis86.lua

36 lines
643 B
Lua
Raw Normal View History

2022-04-07 05:41:20 -04:00
udis86 = {
source = path.join(dependencies.basePath, "udis86"),
}
function udis86.import()
links {"udis86"}
udis86.includes()
end
function udis86.includes()
includedirs {
udis86.source,
path.join(udis86.source, "libudis86"),
path.join(dependencies.basePath, "extra/udis86"),
path.join(dependencies.basePath, "extra/udis86/libudis86"),
}
end
function udis86.project()
project "udis86"
language "C"
udis86.includes()
files {
path.join(udis86.source, "libudis86/*.c"),
path.join(dependencies.basePath, "extra/udis86/libudis86/*.c"),
}
warnings "Off"
kind "StaticLib"
end
table.insert(dependencies, udis86)