meson: Improve the shared build file

System Internals / NetworkManager - Iñigo Martínez [gmail.com] - 1 October 2019 07:49 EDT

The `shared` build file has been improved by applying a set of changes:

- Indentation has been fixed to be consistent.
- Unused libraries and dependencies have been removed.
- Dependencies have been reviewed to store the necessary data.
- Set of objects used in targets have been grouped together.- Header files have been removed from sources lists as it's unnecessary.- Library variable names have been changed to `lib{name}` pattern following their filename pattern.
- `shared` prefix has been removed from all variables using it.- `version_header` its related configuration `version_conf`
variables have been renamed to `nm_version_macro*` following its input and final file names.

c74e42834 meson: Improve the shared build file
clients/common/meson.build | 2 +-
libnm-core/meson.build | 51 +---
libnm-core/tests/meson.build | 10 +-
libnm/meson.build | 17 +-
libnm/tests/meson.build | 10 +-
shared/meson.build | 475 ++++++++++++++++----------------------
shared/nm-utils/tests/meson.build | 7 +-
src/meson.build | 5 +-
8 files changed, 234 insertions(+), 343 deletions(-)

Upstream: cgit.freedesktop.org


  • Share