summaryrefslogtreecommitdiffstats
path: root/panels/meson.build
blob: 2f4fdc5e306a8ffc32a9cbcf4a8d040e3336a58e (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
subdir('common')

panels = [
  'applications',
  'background',
  'camera',
  'color',
  'datetime',
  'default-apps',
  'diagnostics',
  'display',
  'info-overview',
  'keyboard',
  'location',
  'lock',
  'microphone',
  'mouse',
  'notifications',
  'online-accounts',
  'power',
  'printers',
  'region',
  'removable-media',
  'search',
  'sharing',
  'sound',
  'universal-access',
  'usage',
  'user-accounts'
]

if host_is_linux
  panels += ['network']
endif

if host_is_linux_not_s390
  panels += [
    'bluetooth',
    'thunderbolt',
    'wacom'
  ]
endif

panels_list = []
panels_libs = []
foreach cappletname: panels
  cflags = [
    '-DG_LOG_DOMAIN="@0@-cc-panel"'.format(cappletname),
    '-DPANEL_ID="@0@"'.format(cappletname)
  ]

  subdir(cappletname)
endforeach