2017-12-11 00:55:03 +01:00
|
|
|
add_library(audio_core STATIC
|
2017-12-20 19:44:32 +01:00
|
|
|
audio_types.h
|
2017-12-11 00:55:03 +01:00
|
|
|
codec.cpp
|
|
|
|
codec.h
|
2017-12-20 19:44:32 +01:00
|
|
|
dsp_interface.cpp
|
|
|
|
dsp_interface.h
|
2017-12-11 00:55:03 +01:00
|
|
|
hle/common.h
|
|
|
|
hle/filter.cpp
|
|
|
|
hle/filter.h
|
2017-12-20 19:44:32 +01:00
|
|
|
hle/hle.cpp
|
|
|
|
hle/hle.h
|
2017-12-11 00:55:03 +01:00
|
|
|
hle/mixers.cpp
|
|
|
|
hle/mixers.h
|
2017-12-20 19:44:32 +01:00
|
|
|
hle/shared_memory.h
|
2017-12-11 00:55:03 +01:00
|
|
|
hle/source.cpp
|
|
|
|
hle/source.h
|
2018-12-06 13:14:54 +01:00
|
|
|
lle/lle.cpp
|
|
|
|
lle/lle.h
|
2017-12-11 00:55:03 +01:00
|
|
|
interpolate.cpp
|
|
|
|
interpolate.h
|
|
|
|
null_sink.h
|
|
|
|
sink.h
|
|
|
|
sink_details.cpp
|
|
|
|
sink_details.h
|
|
|
|
time_stretch.cpp
|
|
|
|
time_stretch.h
|
2016-02-21 14:13:52 +01:00
|
|
|
|
2017-12-23 02:00:15 +01:00
|
|
|
$<$<BOOL:${SDL2_FOUND}>:sdl2_sink.cpp sdl2_sink.h>
|
2018-05-25 07:50:37 +02:00
|
|
|
$<$<BOOL:${ENABLE_CUBEB}>:cubeb_sink.cpp cubeb_sink.h>
|
2017-12-11 00:55:03 +01:00
|
|
|
)
|
2016-02-21 14:13:52 +01:00
|
|
|
|
2017-12-11 00:55:03 +01:00
|
|
|
create_target_directory_groups(audio_core)
|
2016-02-21 14:13:52 +01:00
|
|
|
|
2017-05-28 03:26:55 +02:00
|
|
|
target_link_libraries(audio_core PUBLIC common core)
|
2018-12-06 13:14:54 +01:00
|
|
|
target_link_libraries(audio_core PRIVATE SoundTouch teakra)
|
2016-04-27 11:57:29 +02:00
|
|
|
|
|
|
|
if(SDL2_FOUND)
|
2017-05-28 06:38:49 +02:00
|
|
|
target_link_libraries(audio_core PRIVATE SDL2)
|
2017-05-28 03:26:55 +02:00
|
|
|
target_compile_definitions(audio_core PRIVATE HAVE_SDL2)
|
2016-04-27 11:57:29 +02:00
|
|
|
endif()
|
2018-05-25 07:50:37 +02:00
|
|
|
|
|
|
|
if(ENABLE_CUBEB)
|
|
|
|
target_link_libraries(audio_core PRIVATE cubeb)
|
2018-05-25 07:58:53 +02:00
|
|
|
add_definitions(-DHAVE_CUBEB=1)
|
2018-05-25 09:05:38 +02:00
|
|
|
endif()
|