Descent3/libmve/CMakeLists.txt
Azamat H. Hackimov 9672475f70 Update MVE playback on Windows
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.
2024-07-09 03:40:49 +03:00

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
>
)