Descent3/sndlib/CMakeLists.txt
2024-06-29 18:21:37 +02:00

26 lines
367 B
CMake

set(CPPS
hlsoundlib.cpp
sndrender.cpp
soundload.cpp
ddsoundload.cpp
ssl_lib.cpp
mixer.cpp
sdlgeometry.cpp
sdlsound.cpp
)
add_library(sndlib STATIC ${CPPS})
target_link_libraries(sndlib PRIVATE
cfile
ddio
mem
misc
stream_audio
SDL2::SDL2
)
target_include_directories(sndlib PUBLIC
$<BUILD_INTERFACE:
${PROJECT_SOURCE_DIR}/sndlib
>
)