pipewire/spa/plugins/alsa/acp/meson.build
Jan Grulich 743cf58fb7 Define SPA_FALLTHROUGH to make fall-through annotations work for all compilers
This is needed for example for Clang compiler which uses different
annotations than GCC. It will make WebRTC to happily use PipeWire
since the spa library is header-only and WebRTC defaults to use
Clang with -Wimplicit-fallthrough.
2020-10-22 13:31:19 +02:00

23 lines
378 B
Meson

acp_sources = [
'acp.c',
'compat.c',
'alsa-mixer.c',
'alsa-ucm.c',
'alsa-util.c',
'conf-parser.c',
]
acp_c_args = [
'-D_GNU_SOURCE',
'-DHAVE_ALSA_UCM',
'-DHAVE_CONFIG_H',
'-DHAVE_READLINK',
]
acp_lib = static_library(
'acp',
acp_sources,
c_args : acp_c_args,
include_directories : [configinc, spa_inc ],
dependencies : [ alsa_dep, mathlib, ]
)