fixed files not being added to flac project because of the use of filers
This commit is contained in:
parent
f39abf24dd
commit
6fa910901e
|
|
@ -13,6 +13,24 @@ function m.generateproject(liboutdir, intdir)
|
|||
|
||||
ogg.link()
|
||||
|
||||
files
|
||||
{
|
||||
path.join(rootdir, "flac/src/libFLAC/**.c"),
|
||||
}
|
||||
|
||||
removefiles
|
||||
{
|
||||
path.join(rootdir, "flac/src/libFLAC/deduplication/**"),
|
||||
}
|
||||
|
||||
includedirs
|
||||
{
|
||||
path.join(rootdir, "flac/include"),
|
||||
path.join(rootdir, "flac/src/libFLAC/include"),
|
||||
}
|
||||
|
||||
|
||||
|
||||
defines
|
||||
{
|
||||
"FLAC__NO_DLL",
|
||||
|
|
@ -27,23 +45,6 @@ function m.generateproject(liboutdir, intdir)
|
|||
"HAVE_LROUND",--fix error in lpc.c <Static declaration of 'lround' follows non-static declaration>
|
||||
"HAVE_STDINT_H", --fix error in alloc.h <# error>
|
||||
}
|
||||
filter""
|
||||
|
||||
includedirs
|
||||
{
|
||||
path.join(rootdir, "flac/include"),
|
||||
path.join(rootdir, "flac/src/libFLAC/include"),
|
||||
}
|
||||
|
||||
files
|
||||
{
|
||||
path.join(rootdir, "flac/src/libFLAC/**.c"),
|
||||
}
|
||||
|
||||
removefiles
|
||||
{
|
||||
path.join(rootdir, "flac/src/libFLAC/deduplication/**"),
|
||||
}
|
||||
|
||||
filter"system:windows"
|
||||
files
|
||||
|
|
@ -61,7 +62,6 @@ function m.link()
|
|||
path.join(rootdir, "flac/include"),
|
||||
path.join(rootdir, "flac/src/libFLAC/include"),
|
||||
}
|
||||
defines { "FLAC__NO_DLL" } -- in case projects want to reference flac directly, it wont expect a dynamic library
|
||||
links {"flac"}
|
||||
ogg.link()
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue