summaryrefslogtreecommitdiff
path: root/clients/meson.build
blob: 257b9a07ff555713434277185a30e2f00380bae7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# SPDX-License-Identifier: LGPL-2.1-or-later

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