Descent3/stream_audio/CMakeLists.txt
Louis Gombert 60c5dbf1fe CMake: add all headers to target sources
This can help with CMake IDE integration and file indexing.
2024-08-09 17:09:14 +02:00

23 lines
371 B
CMake

set(HEADERS
streamaudio.h)
set(CPPS
osfarchive.cpp
streamaudio.cpp
)
add_library(stream_audio STATIC ${HEADERS} ${CPPS})
target_link_libraries(stream_audio PRIVATE
ddio
mem
misc
sndlib
)
target_link_libraries(stream_audio PUBLIC
AudioEncode
)
target_include_directories(stream_audio PUBLIC
$<BUILD_INTERFACE:
${PROJECT_SOURCE_DIR}/stream_audio
>
)