NetworkManager/clients/meson.build
Thomas Haller 0b5e72b90d nm-online: use nmc_client_new_async() instead of nm_client_new_async()
This will allow us to set construct parameters to the instance, like
NM_CLIENT_INSTANCE_FLAGS.
2019-12-10 09:17:17 +01:00

31 lines
552 B
Meson

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')
if enable_nmcli
subdir('cli')
endif
if enable_nmtui
subdir('tui')
endif
if enable_nm_cloud_setup
subdir('cloud-setup')
endif