iw4x-client/deps/premake/fonts.lua

30 lines
408 B
Lua
Raw Normal View History

2023-03-06 12:28:35 -05:00
fonts = {
source = path.join(dependencies.basePath, "extra/font"),
}
function fonts.import()
fonts.includes()
end
function fonts.includes()
includedirs {
2023-03-06 12:28:35 -05:00
fonts.source,
}
end
function fonts.project()
project "fonts"
language "C"
fonts.includes()
files {
2023-03-06 12:28:35 -05:00
path.join(fonts.source, "Terminus_4.49.1.ttf.hpp"),
}
warnings "Off"
kind "SharedItems"
end
table.insert(dependencies, fonts)