summaryrefslogtreecommitdiffstats
path: root/src/audio_core/CMakeLists.txt
blob: 05a61b5cd45d83771d9f28acb28c9e51eb77dc68 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
add_library(audio_core STATIC
    audio_out.cpp
    audio_out.h
    buffer.h
    cubeb_sink.cpp
    cubeb_sink.h
    codec.cpp
    codec.h
    null_sink.h
    stream.cpp
    stream.h
    sink.h
    sink_details.cpp
    sink_details.h
    sink_stream.h
)

create_target_directory_groups(audio_core)

target_link_libraries(audio_core PUBLIC common core)

if(ENABLE_CUBEB)
    target_link_libraries(audio_core PRIVATE cubeb)
    target_compile_definitions(audio_core PRIVATE -DHAVE_CUBEB=1)
endif()