mpd/src/fs/meson.build
Max Kellermann 2c66d90626 fs/io: move to separate library
To eliminate the libio.a dependency.
2023-03-06 19:47:29 +01:00

39 lines
587 B
Meson

fs_sources = [
'Domain.cxx',
'Traits.cxx',
'Config.cxx',
'Charset.cxx',
'Glob.cxx',
'Path.cxx',
'Path2.cxx',
'AllocatedPath.cxx',
'NarrowPath.cxx',
'FileSystem.cxx',
'List.cxx',
'LookupFile.cxx',
'DirectoryReader.cxx',
]
if is_windows
shlwapi_dep = c_compiler.find_library('shlwapi')
else
shlwapi_dep = dependency('', required: false)
endif
fs = static_library(
'fs',
fs_sources,
include_directories: inc,
dependencies: [
shlwapi_dep,
system_dep,
icu_dep,
],
)
fs_dep = declare_dependency(
link_with: fs,
dependencies: [
],
)