meson: Use string variables extensively

The strings holding the names used for libraries have also been
moved to different variables. This way they would be less error
as these variables can be reused easily and any typing error
would be quickly detected.
This commit is contained in:
Iñigo Martínez
2018-01-09 08:05:15 +01:00
committed by Thomas Haller
parent 5e16bcf268
commit 50930ed19a
14 changed files with 54 additions and 43 deletions

View File

@@ -1,5 +1,5 @@
gnome.generate_vapi(
'libnm',
libnm_name,
sources: libnm_gir[0],
packages: 'gio-2.0',
install: true
@@ -12,7 +12,7 @@ if enable_libnm_glib
]
libnm_util_vapi = gnome.generate_vapi(
'libnm-util',
libnm_util_name,
sources: libnm_util_gir[0],
packages: packages,
install: true
@@ -21,7 +21,7 @@ if enable_libnm_glib
packages += libnm_util_vapi
gnome.generate_vapi(
'libnm-glib',
libnm_glib_name,
sources: libnm_glib_gir[0],
packages: packages,
install: true