2024-04-20 12:35:20 +00:00
|
|
|
set(CPPS
|
2024-04-21 09:02:27 +00:00
|
|
|
hlsoundlib.cpp
|
|
|
|
sndrender.cpp
|
2024-05-20 07:28:21 +00:00
|
|
|
soundload.cpp
|
|
|
|
ddsoundload.cpp
|
|
|
|
ssl_lib.cpp
|
2024-06-21 16:46:53 +00:00
|
|
|
mixer.cpp
|
|
|
|
sdlgeometry.cpp
|
|
|
|
sdlsound.cpp
|
2024-05-20 07:28:21 +00:00
|
|
|
)
|
2024-04-16 03:43:29 +00:00
|
|
|
|
2024-05-20 07:28:21 +00:00
|
|
|
add_library(sndlib STATIC ${CPPS})
|
|
|
|
target_link_libraries(sndlib PRIVATE
|
|
|
|
cfile
|
2024-05-22 21:59:23 +00:00
|
|
|
ddio
|
2024-06-19 21:31:58 +00:00
|
|
|
mem
|
2024-06-26 21:09:50 +00:00
|
|
|
misc
|
2024-05-20 07:44:34 +00:00
|
|
|
stream_audio
|
2024-06-21 16:46:53 +00:00
|
|
|
SDL2::SDL2
|
2024-05-20 07:28:21 +00:00
|
|
|
)
|
|
|
|
target_include_directories(sndlib PUBLIC
|
|
|
|
$<BUILD_INTERFACE:
|
|
|
|
${PROJECT_SOURCE_DIR}/sndlib
|
|
|
|
>
|
|
|
|
)
|