io/meson.build: move sources to libio_fs.a
Only that one has a dependency on libfs.a (for class AllocatedPath etc.).
This commit is contained in:
parent
d45994268f
commit
dbfd0a833d
|
@ -386,6 +386,8 @@ endif
|
|||
subdir('src/util')
|
||||
subdir('src/cmdline')
|
||||
subdir('src/time')
|
||||
subdir('src/lib/icu')
|
||||
subdir('src/fs')
|
||||
subdir('src/io')
|
||||
subdir('src/io/uring')
|
||||
subdir('src/system')
|
||||
|
@ -399,7 +401,6 @@ subdir('src/apple')
|
|||
subdir('src/pcm')
|
||||
|
||||
subdir('src/lib/dbus')
|
||||
subdir('src/lib/icu')
|
||||
subdir('src/lib/smbclient')
|
||||
subdir('src/lib/zlib')
|
||||
|
||||
|
@ -424,7 +425,6 @@ subdir('src/lib/crypto')
|
|||
|
||||
subdir('src/zeroconf')
|
||||
|
||||
subdir('src/fs')
|
||||
subdir('src/fs/io')
|
||||
subdir('src/fs/glue')
|
||||
subdir('src/config')
|
||||
|
|
|
@ -17,6 +17,7 @@ config = static_library(
|
|||
fmt_dep,
|
||||
fs_dep,
|
||||
fs_glue_dep,
|
||||
io_fs_dep,
|
||||
],
|
||||
)
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ fs_io = static_library(
|
|||
include_directories: inc,
|
||||
dependencies: [
|
||||
fs_dep,
|
||||
io_dep,
|
||||
io_fs_dep,
|
||||
system_dep,
|
||||
zlib_dep,
|
||||
],
|
||||
|
|
|
@ -26,7 +26,6 @@ fs = static_library(
|
|||
include_directories: inc,
|
||||
dependencies: [
|
||||
shlwapi_dep,
|
||||
system_dep,
|
||||
icu_dep,
|
||||
fmt_dep,
|
||||
],
|
||||
|
|
|
@ -3,9 +3,7 @@ io = static_library(
|
|||
'FileDescriptor.cxx',
|
||||
'Open.cxx',
|
||||
'PeekReader.cxx',
|
||||
'FileReader.cxx',
|
||||
'BufferedReader.cxx',
|
||||
'FileOutputStream.cxx',
|
||||
'BufferedOutputStream.cxx',
|
||||
include_directories: inc,
|
||||
dependencies: [
|
||||
|
@ -16,6 +14,26 @@ io = static_library(
|
|||
io_dep = declare_dependency(
|
||||
link_with: io,
|
||||
dependencies: [
|
||||
fmt_dep,
|
||||
],
|
||||
)
|
||||
|
||||
io_fs = static_library(
|
||||
'io_fs',
|
||||
'FileReader.cxx',
|
||||
'FileOutputStream.cxx',
|
||||
include_directories: inc,
|
||||
dependencies: [
|
||||
fmt_dep,
|
||||
io_dep,
|
||||
fs_dep,
|
||||
],
|
||||
)
|
||||
|
||||
io_fs_dep = declare_dependency(
|
||||
link_with: io_fs,
|
||||
dependencies: [
|
||||
fmt_dep,
|
||||
io_dep,
|
||||
fs_dep,
|
||||
],
|
||||
)
|
||||
|
|
|
@ -149,7 +149,7 @@ executable(
|
|||
include_directories: inc,
|
||||
dependencies: [
|
||||
fs_dep,
|
||||
io_dep,
|
||||
io_fs_dep,
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -180,6 +180,7 @@ if zlib_dep.found()
|
|||
include_directories: inc,
|
||||
dependencies: [
|
||||
fs_dep,
|
||||
io_fs_dep,
|
||||
zlib_dep,
|
||||
],
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue