yuzu-android/src/audio_core/CMakeLists.txt

35 lines
763 B
CMake
Raw Normal View History

add_library(audio_core STATIC
2018-08-12 14:32:16 -04:00
algorithm/filter.cpp
algorithm/filter.h
2018-08-12 14:32:39 -04:00
algorithm/interpolate.cpp
algorithm/interpolate.h
audio_out.cpp
audio_out.h
audio_renderer.cpp
audio_renderer.h
buffer.h
codec.cpp
codec.h
null_sink.h
sink.h
sink_details.cpp
sink_details.h
sink_stream.h
2018-08-12 14:32:16 -04:00
stream.cpp
stream.h
2018-09-08 11:48:13 -04:00
time_stretch.cpp
time_stretch.h
2018-08-07 07:21:56 -04:00
$<$<BOOL:${ENABLE_CUBEB}>:cubeb_sink.cpp cubeb_sink.h>
)
create_target_directory_groups(audio_core)
target_link_libraries(audio_core PUBLIC common core)
2018-08-23 08:33:03 -04:00
target_link_libraries(audio_core PRIVATE SoundTouch)
if(ENABLE_CUBEB)
target_link_libraries(audio_core PRIVATE cubeb)
target_compile_definitions(audio_core PRIVATE -DHAVE_CUBEB=1)
endif()