mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 11:28:56 +00:00
60c5dbf1fe
This can help with CMake IDE integration and file indexing.
26 lines
397 B
CMake
26 lines
397 B
CMake
set(HEADERS
|
|
decoders.h
|
|
movie_sound.h
|
|
mve_audio.h
|
|
mvelib.h
|
|
sound_interface.h)
|
|
set(CPPS
|
|
decoder8.cpp
|
|
decoder16.cpp
|
|
movie_sound.cpp
|
|
mve_audio.cpp
|
|
mvelib.cpp
|
|
mveplay.cpp
|
|
)
|
|
|
|
add_library(libmve STATIC ${HEADERS} ${CPPS})
|
|
target_link_libraries(libmve PRIVATE
|
|
ddio
|
|
SDL2::SDL2
|
|
)
|
|
target_include_directories(libmve PUBLIC
|
|
$<BUILD_INTERFACE:
|
|
${PROJECT_SOURCE_DIR}/libmve
|
|
>
|
|
)
|