From 31f15167607a15c07723706ef993223378684086 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1igo=20Mart=C3=ADnez?= Date: Tue, 10 Sep 2019 12:54:46 +0200 Subject: meson: Improve the src build file The targets that involve the use of the `NetworkManager` library, built in the `src` build file have been improved by applying a set of changes: - Indentation has been fixed. - Set of objects used in targets have been grouped together. - Aritificial dependencies used to group dependencies and custom compiler flags have been removed and their use replaced with proper dependencies and compiler flags to avoid any confussion. --- src/devices/tests/meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/devices/tests/meson.build') diff --git a/src/devices/tests/meson.build b/src/devices/tests/meson.build index 4b4c5c7ee5..bb53d1ee47 100644 --- a/src/devices/tests/meson.build +++ b/src/devices/tests/meson.build @@ -7,8 +7,10 @@ foreach test_unit: test_units exe = executable( test_unit, test_unit + '.c', - dependencies: test_nm_dep, + dependencies: libnetwork_manager_test_dep, + c_args: test_c_flags, ) + test( 'devices/' + test_unit, test_script, -- cgit v1.2.1