demboyz/premake/celt.lua

32 lines
658 B
Lua
Raw Normal View History

2018-02-13 03:55:28 +01:00
local base_dir = (solution().basedir .. "/external/celt-0.11.1/")
group "external"
project "celt"
kind "StaticLib"
language "C"
location (_ACTION .. "/" .. project().name)
defines
{
2018-02-13 05:48:32 +01:00
"restrict=",
"CUSTOM_MODES",
"CUSTOM_MODES_ONLY"
2018-02-13 03:55:28 +01:00
}
includedirs
{
2018-02-13 05:47:50 +01:00
base_dir .. "include/celt/"
2018-02-13 03:55:28 +01:00
}
files
{
base_dir .. "**.h",
base_dir .. "**.c"
2018-02-13 03:55:28 +01:00
}
excludes
{
base_dir .. "static_modes_fixed.c",
base_dir .. "static_modes_float.c"
}
project "*"
group ""