mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25:34 +08:00
Opus codec module test pass
This commit is contained in:
22
xmake.lua
22
xmake.lua
@@ -7,16 +7,12 @@ set_languages("c++17")
|
||||
|
||||
set_installdir("$(projectdir)/out")
|
||||
|
||||
option("server_only")
|
||||
set_showmenu(true)
|
||||
option_end()
|
||||
|
||||
add_defines("ASIO_STANDALONE", "ASIO_HAS_STD_TYPE_TRAITS", "ASIO_HAS_STD_SHARED_PTR",
|
||||
"ASIO_HAS_STD_ADDRESSOF", "ASIO_HAS_STD_ATOMIC", "ASIO_HAS_STD_CHRONO",
|
||||
"ASIO_HAS_CSTDINT", "ASIO_HAS_STD_ARRAY", "ASIO_HAS_STD_SYSTEM_ERROR")
|
||||
|
||||
add_requires("asio 1.24.0", "nlohmann_json", "spdlog 1.11.0", "openfec", "libopus 1.4")
|
||||
add_packages("asio", "nlohmann_json", "spdlog", "openfec", "opus")
|
||||
add_requires("asio 1.24.0", "nlohmann_json", "spdlog 1.11.0", "openfec", "libopus 1.4", "sdl2")
|
||||
add_packages("asio", "nlohmann_json", "spdlog", "openfec", "libopus", "sdl2")
|
||||
|
||||
includes("thirdparty")
|
||||
|
||||
@@ -271,10 +267,10 @@ target("projectx")
|
||||
-- add_files("tests/fec/simple_server.cpp")
|
||||
-- add_includedirs("tests/fec")
|
||||
|
||||
-- target("opus_test")
|
||||
-- set_kind("binary")
|
||||
-- add_packages("libopus")
|
||||
-- add_files("tests/opus/OpusEncoderImpl.cpp",
|
||||
-- "tests/opus/OpusDecoderImpl.cpp",
|
||||
-- "tests/opus/main.cpp")
|
||||
-- add_includedirs("tests/opus")
|
||||
target("opus_test")
|
||||
set_kind("binary")
|
||||
add_packages("libopus", "sdl2")
|
||||
add_files("tests/opus/OpusEncoderImpl.cpp",
|
||||
"tests/opus/OpusDecoderImpl.cpp",
|
||||
"tests/opus/main.cpp")
|
||||
add_includedirs("tests/opus")
|
||||
Reference in New Issue
Block a user