mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 19:55:23 +00:00
35 lines
497 B
CMake
35 lines
497 B
CMake
set(HEADERS
|
|
ddsndgeometry.h
|
|
hlsoundlib.h
|
|
mixer.h
|
|
sdlsound.h
|
|
sndrender.h
|
|
soundload.h
|
|
ssl_lib.h)
|
|
set(CPPS
|
|
hlsoundlib.cpp
|
|
sndrender.cpp
|
|
soundload.cpp
|
|
ddsoundload.cpp
|
|
ssl_lib.cpp
|
|
mixer.cpp
|
|
sdlgeometry.cpp
|
|
sdlsound.cpp
|
|
)
|
|
|
|
add_library(sndlib STATIC ${HEADERS} ${CPPS})
|
|
target_link_libraries(sndlib PRIVATE
|
|
cfile
|
|
ddio
|
|
mem
|
|
misc
|
|
stream_audio
|
|
physics
|
|
SDL2::SDL2
|
|
)
|
|
target_include_directories(sndlib PUBLIC
|
|
$<BUILD_INTERFACE:
|
|
${PROJECT_SOURCE_DIR}/sndlib
|
|
>
|
|
)
|