mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 11:28:56 +00:00
9672475f70
There only one problem still persist on playback - slow filling sound buffer from std::deque on MSVC Debug mode due extremely slow performance of STL containers on that mode. On Release and RelWithDebInfo playback is fine.
26 lines
383 B
CMake
26 lines
383 B
CMake
set(CPPS
|
|
# mveasm.cpp
|
|
# mvelibl.cpp
|
|
# platform.cpp
|
|
# lnxdsound.cpp
|
|
|
|
# d2x implementation
|
|
decoder8.cpp
|
|
decoder16.cpp
|
|
lnx_sound.cpp
|
|
mve_audio.cpp
|
|
mvelib.cpp
|
|
mveplay.cpp
|
|
)
|
|
|
|
add_library(libmve STATIC ${CPPS})
|
|
target_link_libraries(libmve PRIVATE
|
|
ddio
|
|
SDL2::SDL2
|
|
)
|
|
target_include_directories(libmve PUBLIC
|
|
$<BUILD_INTERFACE:
|
|
${PROJECT_SOURCE_DIR}/libmve
|
|
>
|
|
)
|