mpd/src/system/meson.build

37 lines
562 B
Meson
Raw Normal View History

system_sources = [
'EventPipe.cxx',
'Clock.cxx',
]
if host_machine.system() == 'linux'
system_sources += [
2020-05-05 14:30:22 +02:00
'KernelVersion.cxx',
'EventFD.cxx',
'SignalFD.cxx',
'EpollFD.cxx',
]
endif
system = static_library(
'system',
system_sources,
include_directories: inc,
2021-06-23 21:55:08 +02:00
dependencies: [
log_dep,
],
)
if is_windows
winsock_dep = c_compiler.find_library('ws2_32')
else
winsock_dep = dependency('', required: false)
endif
system_dep = declare_dependency(
link_with: system,
dependencies: [
2020-05-05 14:11:13 +02:00
io_dep,
winsock_dep,
],
)