Commit b5f4ff3a authored by mercury233's avatar mercury233

test

parent 26b6539e
...@@ -42,15 +42,6 @@ project "YGOPro" ...@@ -42,15 +42,6 @@ project "YGOPro"
defines { "YGOPRO_USE_AUDIO" } defines { "YGOPRO_USE_AUDIO" }
includedirs { "../miniaudio" } includedirs { "../miniaudio" }
links { "miniaudio" } links { "miniaudio" }
if MINIAUDIO_SUPPORT_OPUS_VORBIS and not BUILD_OPUS_VORBIS then
print("OPUS_INCLUDE_DIR:")
print(OPUS_INCLUDE_DIR)
print("VORBIS_INCLUDE_DIR:")
print(VORBIS_INCLUDE_DIR)
includedirs { OPUS_INCLUDE_DIR, VORBIS_INCLUDE_DIR }
libdirs { OPUS_LIB_DIR, VORBIS_LIB_DIR }
links { "opusfile", "vorbis" }
end
end end
filter "system:windows" filter "system:windows"
......
project "miniaudio" project "miniaudio"
kind "StaticLib" kind "StaticLib"
files { "*.c", "*.h" } files { "*.c", "*.h" }
if MINIAUDIO_SUPPORT_OPUS_VORBIS then
if BUILD_OPUS_VORBIS then
files { "external/ogg/src/**.c", "external/ogg/src/**.h" }
files { "external/opus/src/**.c", "external/opus/src/**.h" }
files { "external/opus/celt/*.c", "external/opus/celt/*.h" }
files { "external/opus/silk/*.c", "external/opus/silk/*.h" }
files { "external/opus/silk/float/*.c", "external/opus/silk/float/*.h" }
files { "external/opusfile/src/**.c", "external/opusfile/src/**.h" }
files { "external/vorbis/lib/**.c", "external/vorbis/lib/**.h" }
files { "external/ogg/src/**.c", "external/ogg/src/**.h" } removefiles { "external/opus/src/opus_demo.c", "external/opus/src/tone.c",
files { "external/opus/src/**.c", "external/opus/src/**.h" } "external/opus/src/opus_encoder.c",
files { "external/opus/celt/*.c", "external/opus/celt/*.h" } "external/vorbis/lib/psy.h", "external/vorbis/lib/psytune.c", "external/vorbis/lib/tone.c",}
files { "external/opus/silk/*.c", "external/opus/silk/*.h" }
files { "external/opus/silk/float/*.c", "external/opus/silk/float/*.h" }
files { "external/opusfile/src/**.c", "external/opusfile/src/**.h" }
files { "external/vorbis/lib/**.c", "external/vorbis/lib/**.h" }
removefiles { "external/opus/src/opus_demo.c", "external/opus/src/tone.c", defines { "USE_ALLOCA", "OPUS_BUILD" }
"external/opus/src/opus_encoder.c",
"external/vorbis/lib/psy.h", "external/vorbis/lib/psytune.c", "external/vorbis/lib/tone.c",}
defines { "USE_ALLOCA", "OPUS_BUILD" } includedirs { ".",
"external/ogg/include",
includedirs { ".", "external/opus/include",
"external/ogg/include", "external/opus/celt",
"external/opus/include", "external/opus/silk",
"external/opus/celt", "external/opus/silk/float",
"external/opus/silk", "external/opusfile/include",
"external/opus/silk/float", "external/vorbis/include" }
"external/opusfile/include", else
"external/vorbis/include" } print("OPUS_INCLUDE_DIR:")
print(OPUS_INCLUDE_DIR)
print("VORBIS_INCLUDE_DIR:")
print(VORBIS_INCLUDE_DIR)
includedirs { OPUS_INCLUDE_DIR, VORBIS_INCLUDE_DIR }
libdirs { OPUS_LIB_DIR, VORBIS_LIB_DIR }
links { "opusfile", "vorbis" }
end
end
filter "system:linux" filter "system:linux"
links { "dl", "pthread", "m" } links { "dl", "pthread", "m" }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment