demboyz/premake/celt.lua

33 lines
696 B
Lua

local base_dir = (solution().basedir .. "/external/celt-e18de77/")
group "external"
project "celt"
kind "StaticLib"
language "C"
location (_ACTION .. "/" .. project().name)
defines
{
"CUSTOM_MODES",
"CUSTOM_MODES_ONLY",
"DISABLE_FLOAT_API",
"HAVE_CONFIG_H"
}
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 ""