Descent3/libmve/CMakeLists.txt
Azamat H. Hackimov b94458f561 MVE: Switch to D2X implementation (first run)
Adapting movie and mve interfaces each other.
Converted open() to fopen() et al. calls.
movie expected image as RGB565 from old mve, but now it's RGB555, so there no need additional conversion. Fixed hicolor related conversion of width in movie's callbacks. Headers cleanup in both subsystems.

Sound and frame callbacks are still unavailable.
2024-07-09 03:40:49 +03:00

22 lines
356 B
CMake

set(CPPS
# mveasm.cpp
# mvelibl.cpp
# platform.cpp
lnxdsound.cpp
# d2x implementation
decoder8.cpp
decoder16.cpp
mve_audio.cpp
mvelib.cpp
mveplay.cpp
)
add_library(libmve STATIC ${CPPS})
target_link_libraries(libmve PRIVATE SDL2::SDL2)
target_include_directories(libmve PUBLIC
$<BUILD_INTERFACE:
${PROJECT_SOURCE_DIR}/libmve
>
)