demboyz/premake/celt.lua

33 lines
696 B
Lua
Raw Normal View History

2018-02-13 03:55:28 +01:00
local base_dir = (solution().basedir .. "/external/celt-e18de77/")
2018-02-13 03:55:28 +01:00
group "external"
project "celt"
kind "StaticLib"
language "C"
location (_ACTION .. "/" .. project().name)
defines
{
2018-02-13 05:48:32 +01:00
"CUSTOM_MODES",
"CUSTOM_MODES_ONLY",
"DISABLE_FLOAT_API",
"HAVE_CONFIG_H"
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 ""