demboyz/premake/celt.lua
2018-02-12 23:48:32 -05:00

32 lines
658 B
Lua

local base_dir = (solution().basedir .. "/external/celt-0.11.1/")
group "external"
project "celt"
kind "StaticLib"
language "C"
location (_ACTION .. "/" .. project().name)
defines
{
"restrict=",
"CUSTOM_MODES",
"CUSTOM_MODES_ONLY"
}
includedirs
{
base_dir .. "include/celt/"
}
files
{
base_dir .. "**.h",
base_dir .. "**.c"
}
excludes
{
base_dir .. "static_modes_fixed.c",
base_dir .. "static_modes_float.c"
}
project "*"
group ""