mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-22 20:50:08 +01:00
We have the correct meta-data of supported properties for nmcli. It is in clients/common. Use that for generating the manual page instead of the properties that are part of libnm (some properties may be in libnm but not supported by nmcli, or some properties may not be GObject properties, and not detected as by GObject introspection).
30 lines
565 B
Meson
30 lines
565 B
Meson
# SPDX-License-Identifier: LGPL-2.1+
|
|
|
|
clients_c_flags = ['-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT']
|
|
|
|
name = 'nm-online'
|
|
|
|
executable(
|
|
name,
|
|
name + '.c',
|
|
dependencies: [
|
|
libnm_dep,
|
|
libnm_nm_default_dep,
|
|
libnm_libnm_aux_dep,
|
|
],
|
|
c_args: clients_c_flags + ['-DG_LOG_DOMAIN="@0@"'.format(name)],
|
|
link_args: ldflags_linker_script_binary,
|
|
link_depends: linker_script_binary,
|
|
install: true,
|
|
)
|
|
|
|
subdir('common')
|
|
subdir('cli')
|
|
|
|
if enable_nmtui
|
|
subdir('tui')
|
|
endif
|
|
|
|
if enable_nm_cloud_setup
|
|
subdir('cloud-setup')
|
|
endif
|