Descent3/sndlib/CMakeLists.txt

32 lines
488 B
CMake
Raw Normal View History

set(CPPS
hlsoundlib.cpp
sndrender.cpp
soundload.cpp
ddsoundload.cpp
ssl_lib.cpp
$<$<PLATFORM_ID:Windows>:
ds3dlib.cpp
ds3dgeometry.cpp
dsound3d.cpp
eax.cpp
>
$<$<PLATFORM_ID:Darwin,Linux>:
mixer.cpp
sdlgeometry.cpp
sdlsound.cpp
>
)
2024-04-16 03:43:29 +00:00
add_library(sndlib STATIC ${CPPS})
target_link_libraries(sndlib PRIVATE
cfile
2024-05-22 21:59:23 +00:00
ddio
mem
stream_audio
)
target_include_directories(sndlib PUBLIC
$<BUILD_INTERFACE:
${PROJECT_SOURCE_DIR}/sndlib
>
)