Skip to content

Commit

Permalink
meson: Use files()
Browse files Browse the repository at this point in the history
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
  • Loading branch information
sardemff7 committed Oct 12, 2017
1 parent 60e5e71 commit e6faf48
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions alsa-mixer/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ alsa = dependency('alsa')

libgwater_alsa_mixer_inc = include_directories('.')
libgwater_alsa_mixer_dep = [ alsa, glib ]
libgwater_alsa_mixer_lib = static_library('libgwater-alsa-mixer', [
libgwater_alsa_mixer_lib = static_library('libgwater-alsa-mixer', files(
'libgwater-alsa-mixer.h',
'libgwater-alsa-mixer.c',
],
),
dependencies: libgwater_alsa_mixer_dep,
include_directories: libgwater_alsa_mixer_inc,
)
Expand Down
4 changes: 2 additions & 2 deletions mpd/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ mpd = dependency('libmpdclient')

libgwater_mpd_inc = include_directories('.')
libgwater_mpd_dep = [ mpd, gio, gio_platform, gobject, glib ]
libgwater_mpd_lib = static_library('libgwater-mpd', [
libgwater_mpd_lib = static_library('libgwater-mpd', files(
'libgwater-mpd.h',
'libgwater-mpd.c',
],
),
dependencies: libgwater_mpd_dep,
include_directories: libgwater_mpd_inc,
)
Expand Down
4 changes: 2 additions & 2 deletions nl/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ libnl = dependency('libnl-3.0')

libgwater_nl_inc = include_directories('.')
libgwater_nl_dep = [ libnl, glib ]
libgwater_nl_lib = static_library('libgwater-nl', [
libgwater_nl_lib = static_library('libgwater-nl', files(
'libgwater-nl.h',
'libgwater-nl.c',
],
),
dependencies: libgwater_nl_dep,
include_directories: libgwater_nl_inc,
)
Expand Down
4 changes: 2 additions & 2 deletions wayland-server/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ wayland = dependency('wayland-server', version: '>= @0@'.format(wayland_min_vers

libgwater_wayland_server_inc = include_directories('.')
libgwater_wayland_server_dep = [ wayland, glib ]
libgwater_wayland_server_lib = static_library('libgwater-wayland-server', [
libgwater_wayland_server_lib = static_library('libgwater-wayland-server', files(
'libgwater-wayland-server.h',
'libgwater-wayland-server.c',
],
),
dependencies: libgwater_wayland_server_dep,
include_directories: libgwater_wayland_server_inc,
)
Expand Down
4 changes: 2 additions & 2 deletions wayland/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ wayland = dependency('wayland-client', version: '>= @0@'.format(wayland_min_vers

libgwater_wayland_inc = include_directories('.')
libgwater_wayland_dep = [ wayland, glib ]
libgwater_wayland_lib = static_library('libgwater-wayland', [
libgwater_wayland_lib = static_library('libgwater-wayland', files(
'libgwater-wayland.h',
'libgwater-wayland.c',
],
),
dependencies: libgwater_wayland_dep,
include_directories: libgwater_wayland_inc,
)
Expand Down
4 changes: 2 additions & 2 deletions win/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ glib = dependency('glib-2.0', version: '>= @0@'.format(glib_min_version))

libgwater_win_inc = include_directories('.')
libgwater_win_dep = [ glib ]
libgwater_win_lib = static_library('libgwater-win', [
libgwater_win_lib = static_library('libgwater-win', files(
'libgwater-win.h',
'libgwater-win.c',
],
),
dependencies: libgwater_win_dep,
include_directories: libgwater_win_inc,
)
Expand Down
4 changes: 2 additions & 2 deletions xcb/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ xcb = dependency('xcb')

libgwater_xcb_inc = include_directories('.')
libgwater_xcb_dep = [ xcb, glib ]
libgwater_xcb_lib = static_library('libgwater-xcb', [
libgwater_xcb_lib = static_library('libgwater-xcb', files(
'libgwater-xcb.h',
'libgwater-xcb.c',
],
),
dependencies: libgwater_xcb_dep,
include_directories: libgwater_xcb_inc,
)
Expand Down

0 comments on commit e6faf48

Please sign in to comment.