54 lines
795 B
Lua
54 lines
795 B
Lua
project"flac"
|
|
cppdialect"c++17"
|
|
kind"staticLib"
|
|
targetdir (libout)
|
|
staticruntime "off"
|
|
objdir(intdir)
|
|
|
|
defines
|
|
{
|
|
"FLAC__NO_DLL",
|
|
"CPU_IS_BIG_ENDIAN=0",
|
|
"FLAC__HAS_OGG=1",
|
|
"PACKAGE_VERSION=\"\"",
|
|
}
|
|
|
|
filter"system:linux"
|
|
defines
|
|
{
|
|
"HAVE_LROUND",--fix error in lpc.c <Static declaration of 'lround' follows non-static declaration>
|
|
"HAVE_STDINT_H" --fix error in alloc.h <# error>
|
|
}
|
|
|
|
includedirs
|
|
{
|
|
"include",
|
|
"src/libFLAC/include",
|
|
"../ogg/include"
|
|
}
|
|
|
|
files
|
|
{
|
|
"src/libFLAC/**.c",
|
|
}
|
|
|
|
removefiles
|
|
{
|
|
"src/libFLAC/deduplication/**"
|
|
}
|
|
|
|
filter"system:windows"
|
|
files
|
|
{
|
|
"src/share/win_utf8_io/**.c"
|
|
}
|
|
|
|
filter "configurations:Debug"
|
|
runtime "Debug"
|
|
symbols "on"
|
|
|
|
filter "configurations:Release"
|
|
runtime "Release"
|
|
optimize "Speed"
|
|
|
|
filter"" |