iw4x-client/deps/premake/pdcurses.lua

35 lines
578 B
Lua
Raw Permalink Normal View History

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