
The targets that involve the use of the `libnm` library have been improved by applying a set of changes: - Generated enum sources variable `libnm_enum` has been renamed to `libnm_enum_sources` to clearly specify what it is holding. - Indentation in the `libnm` build and test files has been fixed. - Set of objects used in targets have been grouped together.
19 lines
560 B
Meson
19 lines
560 B
Meson
examples = [
|
|
['add-connection-gdbus', [libnm_enum_sources[1]], [uuid_dep]],
|
|
['add-connection-libnm', [], [libnm_dep]],
|
|
['get-active-connections-gdbus', [libnm_enum_sources[1]], []],
|
|
['get-ap-info-libnm', [], [libnm_dep]],
|
|
['list-connections-gdbus', [], []],
|
|
['list-connections-libnm', [], [libnm_dep]],
|
|
['monitor-nm-running-gdbus', [], []],
|
|
['monitor-nm-state-gdbus', [], []],
|
|
]
|
|
|
|
foreach example: examples
|
|
executable(
|
|
example[0],
|
|
[example[0] + '.c'] + example[1],
|
|
dependencies: [libnm_nm_default_dep] + example[2],
|
|
)
|
|
endforeach
|